Skip to content

Commit 89485db

Browse files
committed
iui: document draw::path::FillMode
1 parent 94d5d1a commit 89485db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

iui/src/draw/path.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ impl Drop for Path {
1212
}
1313
}
1414

15+
/// Represents the fill mode used when drawing a path.
1516
#[derive(Clone, Copy, PartialEq)]
1617
pub enum FillMode {
18+
/// Draw using the [non-zero winding number fill rule](https://en.wikipedia.org/wiki/Nonzero-rule).
1719
Winding,
20+
/// Draw using the [even-odd fill rule](https://en.wikipedia.org/wiki/Even-odd_rule).
1821
Alternate,
1922
}
2023

0 commit comments

Comments
 (0)