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/stroke.rs | |
parent | 72feba51bed41db0bc04b43167d5d3b43007fd44 (diff) | |
download | iced-f9a6efcaa03728f43aaa105af8936c1ed4778388.tar.gz iced-f9a6efcaa03728f43aaa105af8936c1ed4778388.tar.bz2 iced-f9a6efcaa03728f43aaa105af8936c1ed4778388.zip |
Fixed some more imports/documentation.
Diffstat (limited to 'graphics/src/widget/canvas/stroke.rs')
-rw-r--r-- | graphics/src/widget/canvas/stroke.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |