pub struct Stroke { /* private fields */ }
Expand description
A stroke style.
Implementations§
source§impl Stroke
impl Stroke
sourcepub fn dashoffset(&self) -> f32
pub fn dashoffset(&self) -> f32
Stroke dash offset.
sourcepub fn miterlimit(&self) -> StrokeMiterlimit
pub fn miterlimit(&self) -> StrokeMiterlimit
Stroke miter limit.
sourcepub fn width(&self) -> StrokeWidth
pub fn width(&self) -> StrokeWidth
Stroke width.
sourcepub fn to_tiny_skia(&self) -> Stroke
pub fn to_tiny_skia(&self) -> Stroke
Converts into a tiny_skia_path::Stroke
type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stroke
impl !RefUnwindSafe for Stroke
impl Send for Stroke
impl Sync for Stroke
impl Unpin for Stroke
impl !UnwindSafe for Stroke
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)