Struct freya_engine::prelude::Paint
source · pub struct Paint;
Implementations§
source§impl Paint
impl Paint
pub fn set_anti_alias(&mut self, _anti_alias: bool) -> &mut Self
pub fn set_color(&mut self, _color: impl Into<Color>) -> &mut Self
pub fn set_style(&mut self, _style: PaintStyle) -> &mut Self
pub fn set_shader(&mut self, _shader: impl Into<Option<Shader>>) -> &mut Self
pub fn set_stroke_width(&mut self, _width: f32) -> &mut Self
pub fn set_mask_filter( &mut self, _mask_filter: impl Into<Option<MaskFilter>> ) -> &mut Self
Trait Implementations§
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§
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