summaryrefslogtreecommitdiff
path: root/library/src/visualize/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/visualize/path.rs')
-rw-r--r--library/src/visualize/path.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/library/src/visualize/path.rs b/library/src/visualize/path.rs
index 9b3fd876..c9b596c7 100644
--- a/library/src/visualize/path.rs
+++ b/library/src/visualize/path.rs
@@ -27,8 +27,11 @@ pub struct PathElem {
/// [non-zero winding rule](https://en.wikipedia.org/wiki/Nonzero-rule).
pub fill: Option<Paint>,
- /// How to stroke the path. See the
- /// [polygon's documentation]($func/polygon.stroke) for more details.
+ /// How to stroke the path. This can be:
+ ///
+ /// See the [line's documentation]($func/line.stroke) for more details. Can
+ /// be set to `{none}` to disable the stroke or to `{auto}` for a stroke of
+ /// `{1pt}` black if and if only if no fill is given.
#[resolve]
#[fold]
pub stroke: Smart<Option<PartialStroke>>,