pub struct Stroke {
pub paint: Paint,
pub width: f64,
pub cap: Cap,
pub join: Join,
pub miter_limit: f64,
pub align: Align,
pub dash: Option<(Vec<f64>, f64)>,
pub behind: bool,
}Fields§
§paint: Paint§width: f64Width in document pixels.
cap: Cap§join: Join§miter_limit: f64§align: Align§dash: Option<(Vec<f64>, f64)>Dash and gap lengths in document pixels, and the phase.
behind: boolPainted below the fill instead of above it.
Trait Implementations§
impl StructuralPartialEq for Stroke
Auto Trait Implementations§
impl Forget for Stroke
impl Freeze for Stroke
impl Move for Stroke
impl RefUnwindSafe for Stroke
impl Send for Stroke
impl Sync for Stroke
impl Unpin for Stroke
impl UnsafeUnpin 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