pub struct StrokeOptions { /* private fields */ }Implementations§
Source§impl StrokeOptions
impl StrokeOptions
pub fn new() -> Self
pub fn width(&self) -> f64
pub fn miter_limit(&self) -> f64
pub fn join(&self) -> StrokeJoin
pub fn dash_offset(&self) -> f64
pub fn start_cap(&self) -> StrokeCap
pub fn end_cap(&self) -> StrokeCap
pub fn dash_array(&self) -> &Array<f64>
pub fn transform_order(&self) -> StrokeTransformOrder
pub fn set_caps(&mut self, cap: StrokeCap)
Trait Implementations§
Source§impl Debug for StrokeOptions
impl Debug for StrokeOptions
Source§impl Default for StrokeOptions
impl Default for StrokeOptions
Auto Trait Implementations§
impl Freeze for StrokeOptions
impl RefUnwindSafe for StrokeOptions
impl !Send for StrokeOptions
impl !Sync for StrokeOptions
impl Unpin for StrokeOptions
impl UnwindSafe for StrokeOptions
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