pub enum Winding {
Clockwise,
CounterClockwise,
}Expand description
Winding selects the traversal direction of a closed contour.
Direction matters wherever traversal carries meaning: under the nonzero fill rule two overlapping contours cancel when their windings oppose and add when they agree, and dashing walks a contour in order.
Variants§
Clockwise
Clockwise traverses in the clockwise direction on Valo’s y-down plane.
CounterClockwise
CounterClockwise traverses in the counterclockwise direction.
Trait Implementations§
impl Copy for Winding
impl Eq for Winding
impl StructuralPartialEq for Winding
Auto Trait Implementations§
impl Freeze for Winding
impl RefUnwindSafe for Winding
impl Send for Winding
impl Sync for Winding
impl Unpin for Winding
impl UnsafeUnpin for Winding
impl UnwindSafe for Winding
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