mirror of
https://github.com/typst/typst
synced 2025-08-12 06:07:54 +08:00
Add titles for radial and conic gradients
This commit is contained in:
parent
fe6cc46977
commit
ae9356d711
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user