From 0b91d2e0510d8fbac3059f7d9e4a3ace2ddf0cf0 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 11 Aug 2025 11:22:34 +0200 Subject: [PATCH] Remove use of "last" and "end" for conic gradient circle docs (#6733) --- crates/typst-library/src/visualize/gradient.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/typst-library/src/visualize/gradient.rs b/crates/typst-library/src/visualize/gradient.rs index 6f1c1f7fb..5dda14c71 100644 --- a/crates/typst-library/src/visualize/gradient.rs +++ b/crates/typst-library/src/visualize/gradient.rs @@ -426,10 +426,10 @@ impl Gradient { #[named] #[default(Smart::Auto)] relative: Smart, - /// 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 - /// centered inside of its container. + /// A value of `{(50%, 50%)}` means that the circle is centered inside + /// of its container. #[named] #[default(Axes::splat(Ratio::new(0.5)))] center: Axes, @@ -1083,7 +1083,7 @@ pub struct ConicGradient { pub stops: Vec<(Color, Ratio)>, /// The direction of this gradient. pub angle: Angle, - /// The center of last circle of this gradient. + /// The center of circle of this gradient. pub center: Axes, /// The color space in which to interpolate the gradient. pub space: ColorSpace,