diff options
| author | 2022-10-06 19:41:00 -0700 | |
|---|---|---|
| committer | 2022-10-06 19:41:00 -0700 | |
| commit | f9a6efcaa03728f43aaa105af8936c1ed4778388 (patch) | |
| tree | f3a4e90a94afc20d300e25a96fdc74c9c9c34c95 /graphics/src/widget/canvas | |
| parent | 72feba51bed41db0bc04b43167d5d3b43007fd44 (diff) | |
| download | iced-f9a6efcaa03728f43aaa105af8936c1ed4778388.tar.gz iced-f9a6efcaa03728f43aaa105af8936c1ed4778388.tar.bz2 iced-f9a6efcaa03728f43aaa105af8936c1ed4778388.zip | |
Fixed some more imports/documentation.
Diffstat (limited to '')
| -rw-r--r-- | graphics/src/widget/canvas/fill.rs | 2 | ||||
| -rw-r--r-- | graphics/src/widget/canvas/stroke.rs | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/graphics/src/widget/canvas/fill.rs b/graphics/src/widget/canvas/fill.rs index 768c2b9c..cd56aa9e 100644 --- a/graphics/src/widget/canvas/fill.rs +++ b/graphics/src/widget/canvas/fill.rs @@ -42,7 +42,7 @@ impl<'a> From<Color> for Fill<'a> {      }  } -/// The color or gradient of a [`Fill`]. +/// The style of a [`Fill`].  #[derive(Debug, Clone)]  pub enum Style<'a> {      /// A solid color diff --git a/graphics/src/widget/canvas/stroke.rs b/graphics/src/widget/canvas/stroke.rs index aaac15bb..5cb63a91 100644 --- a/graphics/src/widget/canvas/stroke.rs +++ b/graphics/src/widget/canvas/stroke.rs @@ -1,4 +1,4 @@ -//! Create lines from a [crate::widget::canvas::Path] and render with various attributes/styles. +//! Create lines from a [crate::widget::canvas::Path] and assigns them various attributes/styles.  use iced_native::Color;  use crate::gradient::Gradient; @@ -60,7 +60,7 @@ impl<'a> Default for Stroke<'a> {      }  } -/// The color or gradient of a [`Stroke`]. +/// The style of a [`Stroke`].  #[derive(Debug, Clone, Copy)]  pub enum Style<'a> {      /// A solid color | 
