pub enum PaintMode {
Clip,
Fill,
Stroke,
FillStroke,
}
Expand description
The path-painting mode for a path.
Variants§
Clip
Set the path in clipping mode instead of painting it.
The path is not being drawing, but it will be used for clipping operations instead. The
rule for clipping are determined by the value WindingOrder
associated to the path.
Fill
Fill the path.
Stroke
Paint a line along the path.
FillStroke
Fill the path and paint a line along it.
Trait Implementations§
source§impl PartialEq for PaintMode
impl PartialEq for PaintMode
impl Copy for PaintMode
impl Eq for PaintMode
impl StructuralEq for PaintMode
impl StructuralPartialEq for PaintMode
Auto Trait Implementations§
impl RefUnwindSafe for PaintMode
impl Send for PaintMode
impl Sync for PaintMode
impl Unpin for PaintMode
impl UnwindSafe for PaintMode
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