diff options
Diffstat (limited to '')
| -rw-r--r-- | graphics/src/widget/canvas/fill.rs | 2 | ||||
| -rw-r--r-- | graphics/src/widget/canvas/stroke.rs | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/graphics/src/widget/canvas/fill.rs b/graphics/src/widget/canvas/fill.rs index c69fc0d7..e2fc1cfe 100644 --- a/graphics/src/widget/canvas/fill.rs +++ b/graphics/src/widget/canvas/fill.rs @@ -8,7 +8,7 @@ pub use crate::triangle::Style;  pub struct Fill {      /// The color or gradient of the fill.      /// -    /// By default, it is set to [`FillStyle::Solid`] `BLACK`. +    /// By default, it is set to [`Style::Solid`] with [`Color::BLACK`].      pub style: Style,      /// The fill rule defines how to determine what is inside and what is diff --git a/graphics/src/widget/canvas/stroke.rs b/graphics/src/widget/canvas/stroke.rs index f9b8e447..a882531a 100644 --- a/graphics/src/widget/canvas/stroke.rs +++ b/graphics/src/widget/canvas/stroke.rs @@ -8,7 +8,7 @@ use iced_native::Color;  pub struct Stroke<'a> {      /// The color or gradient of the stroke.      /// -    /// By default, it is set to [`StrokeStyle::Solid`] `BLACK`. +    /// By default, it is set to a [`Style::Solid`] with [`Color::BLACK`].      pub style: Style,      /// The distance between the two edges of the stroke.      pub width: f32, | 
