Struct usvg::Stroke [−][src]
pub struct Stroke { pub paint: Paint, pub dasharray: Option<NumberList>, pub dashoffset: f64, pub miterlimit: f64, pub opacity: Opacity, pub width: f64, pub linecap: LineCap, pub linejoin: LineJoin, }
A stroke style.
Fields
paint: Paint
dasharray: Option<NumberList>
dashoffset: f64
miterlimit: f64
opacity: Opacity
width: f64
linecap: LineCap
linejoin: LineJoin
Trait Implementations
impl Clone for Stroke
[src]
impl Clone for Stroke
fn clone(&self) -> Stroke
[src]
fn clone(&self) -> Stroke
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Stroke
[src]
impl Debug for Stroke
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Stroke
[src]
impl Default for Stroke