#[repr(u8)]pub enum PaintStyle {
Fill = 0,
Stroke = 1,
StrokeAndFill = 2,
}Expand description
Set the Style to fill, stroke, or both fill and stroke geometry.
The stroke and fill
share all paint attributes; for instance, they are drawn with the same color.
Use Style::StrokeAndFill to avoid hitting the same pixels twice with a stroke draw and
a fill draw.
Variants§
Trait Implementations§
Source§impl Clone for SkPaint_Style
impl Clone for SkPaint_Style
Source§fn clone(&self) -> SkPaint_Style
fn clone(&self) -> SkPaint_Style
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SkPaint_Style
Source§impl Debug for SkPaint_Style
impl Debug for SkPaint_Style
impl Eq for SkPaint_Style
Source§impl Hash for SkPaint_Style
impl Hash for SkPaint_Style
Source§impl PartialEq for SkPaint_Style
impl PartialEq for SkPaint_Style
impl StructuralPartialEq for SkPaint_Style
Auto Trait Implementations§
impl Forget for SkPaint_Style
impl Freeze for SkPaint_Style
impl Move for SkPaint_Style
impl RefUnwindSafe for SkPaint_Style
impl Send for SkPaint_Style
impl Sync for SkPaint_Style
impl Unpin for SkPaint_Style
impl UnsafeUnpin for SkPaint_Style
impl UnwindSafe for SkPaint_Style
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