pub enum MaskPaint {
Fill(FillRule),
Stroke(f32),
Dashed(f32, DashCut),
}Expand description
What one mask paints: the fill by its rule, bled half a pixel so two
fills sharing an edge meet without the background showing, or the
outline stroked width physical px wide — whole, or cut into the
marks of a dash pattern (backlog V2), its lengths physical too.
Variants§
Trait Implementations§
impl Copy for MaskPaint
impl StructuralPartialEq for MaskPaint
Auto Trait Implementations§
impl Freeze for MaskPaint
impl RefUnwindSafe for MaskPaint
impl Send for MaskPaint
impl Sync for MaskPaint
impl Unpin for MaskPaint
impl UnsafeUnpin for MaskPaint
impl UnwindSafe for MaskPaint
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