Struct elmesque::form::LineStyle
[−]
[src]
pub struct LineStyle { pub color: Color, pub width: f64, pub cap: LineCap, pub join: LineJoin, pub dashing: Vec<i64>, pub dash_offset: i64, }
Fields
color | |
width | |
cap | |
join | |
dashing | |
dash_offset |
Methods
impl LineStyle
fn default() -> LineStyle
The default LineStyle.
fn width(self, w: f64) -> LineStyle
The LineStyle with some given width.