pub enum FillRule {
EvenOdd,
NonZero,
Positive,
Negative,
}Expand description
Polygon fill rule (non-zero, even-odd, …), maps to Clipper2 FillRule.
多边形填充规则,对应 Clipper2 FillRule。
Variants§
EvenOdd
Even-odd rule. / 偶奇规则。
NonZero
Non-zero winding rule. / 非零环绕规则。
Positive
Positive winding only. / 仅正向环绕。
Negative
Negative winding only. / 仅负向环绕。
Trait Implementations§
impl Copy for FillRule
impl Eq 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 UnsafeUnpin 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