pub enum FillRule {
NonZero,
EvenOdd,
}
Expand description
Raster fill rule that determines how self-intersecting parts of the path are filled. It uses the winding number–the count of how many full counter-clockwise revolutions (‘windings’) the curve makes around a point–to determine whether this point should be filled or not.
Variants§
NonZero
Points with non-zero winding number are filled.
EvenOdd
Points with odd non-zero numbers are filled.
Trait Implementations§
impl Copy for FillRule
impl StructuralPartialEq for FillRule
Auto Trait Implementations§
impl Freeze for FillRule
impl RefUnwindSafe for FillRule
impl Send for FillRule
impl Sync for FillRule
impl Unpin for FillRule
impl UnwindSafe for FillRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)