[][src]Struct tiny_skia::Paint

pub struct Paint(_);

Implementations

impl Paint[src]

pub fn new() -> Paint[src]

pub fn set_style(&mut self, style: PaintStyle)[src]

pub fn set_color(&mut self, r: u8, g: u8, b: u8, a: u8)[src]

pub fn set_alpha(&mut self, a: u8)[src]

pub fn set_anti_alias(&mut self, aa: bool)[src]

pub fn set_blend_mode(&mut self, blend_mode: BlendMode)[src]

pub fn set_shader(&mut self, shader: &Shader)[src]

pub fn set_stroke_width(&mut self, width: f32)[src]

pub fn set_stroke_cap(&mut self, cap: StrokeCap)[src]

pub fn set_stroke_join(&mut self, join: StrokeJoin)[src]

pub fn set_stroke_miter(&mut self, miter: f32)[src]

pub fn set_path_effect(&mut self, path_effect: &PathEffect)[src]

Trait Implementations

impl Drop for Paint[src]

Auto Trait Implementations

impl RefUnwindSafe for Paint

impl !Send for Paint

impl !Sync for Paint

impl Unpin for Paint

impl UnwindSafe for Paint

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.