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.

Trait Implementations

Derived Implementations

impl Debug for LineStyle

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for LineStyle

fn clone(&self) -> LineStyle

fn clone_from(&mut self, source: &Self)