Add titles for radial and conic gradients

This commit is contained in:
Malo 2025-02-19 10:44:31 +01:00
parent fe6cc46977
commit ae9356d711

View File

@ -287,7 +287,7 @@ impl Gradient {
/// )),
/// )
/// ```
#[func]
#[func(title = "Radial Gradient")]
fn radial(
span: Span,
/// The color [stops](#stops) of the gradient.
@ -401,7 +401,7 @@ impl Gradient {
/// )),
/// )
/// ```
#[func]
#[func(title = "Conic Gradient")]
pub fn conic(
span: Span,
/// The color [stops](#stops) of the gradient.