pub struct StrokeProps {
pub line_width: f32,
pub line_cap: Cap,
pub line_join: Join,
pub miter_limit: f32,
pub dash_array: SmallVec<[f32; 4]>,
pub dash_offset: f32,
}Expand description
Stroke properties.
Fields§
§line_width: f32The line width.
line_cap: CapThe line cap.
line_join: JoinThe line join.
miter_limit: f32The miter limit.
dash_array: SmallVec<[f32; 4]>The dash array.
dash_offset: f32The dash offset.
Trait Implementations§
Source§impl Clone for StrokeProps
impl Clone for StrokeProps
Source§fn clone(&self) -> StrokeProps
fn clone(&self) -> StrokeProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StrokeProps
impl Debug for StrokeProps
Auto Trait Implementations§
impl Freeze for StrokeProps
impl RefUnwindSafe for StrokeProps
impl Send for StrokeProps
impl Sync for StrokeProps
impl Unpin for StrokeProps
impl UnwindSafe for StrokeProps
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