Remove use of "last" and "end" for conic gradient circle docs (#6733)

This commit is contained in:
Robin 2025-08-11 11:22:34 +02:00 committed by GitHub
parent 07e73d756e
commit 0b91d2e051
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,