mirror of
https://github.com/typst/typst
synced 2025-08-12 14:17:55 +08:00
Remove use of "last" and "end" for conic gradient circle docs (#6733)
This commit is contained in:
parent
07e73d756e
commit
0b91d2e051
@ -426,10 +426,10 @@ impl Gradient {
|
|||||||
#[named]
|
#[named]
|
||||||
#[default(Smart::Auto)]
|
#[default(Smart::Auto)]
|
||||||
relative: Smart<RelativeTo>,
|
relative: Smart<RelativeTo>,
|
||||||
/// The center of the last circle of the gradient.
|
/// The center of the circle of the gradient.
|
||||||
///
|
///
|
||||||
/// A value of `{(50%, 50%)}` means that the end circle is
|
/// A value of `{(50%, 50%)}` means that the circle is centered inside
|
||||||
/// centered inside of its container.
|
/// of its container.
|
||||||
#[named]
|
#[named]
|
||||||
#[default(Axes::splat(Ratio::new(0.5)))]
|
#[default(Axes::splat(Ratio::new(0.5)))]
|
||||||
center: Axes<Ratio>,
|
center: Axes<Ratio>,
|
||||||
@ -1083,7 +1083,7 @@ pub struct ConicGradient {
|
|||||||
pub stops: Vec<(Color, Ratio)>,
|
pub stops: Vec<(Color, Ratio)>,
|
||||||
/// The direction of this gradient.
|
/// The direction of this gradient.
|
||||||
pub angle: Angle,
|
pub angle: Angle,
|
||||||
/// The center of last circle of this gradient.
|
/// The center of circle of this gradient.
|
||||||
pub center: Axes<Ratio>,
|
pub center: Axes<Ratio>,
|
||||||
/// The color space in which to interpolate the gradient.
|
/// The color space in which to interpolate the gradient.
|
||||||
pub space: ColorSpace,
|
pub space: ColorSpace,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user