Trait BackendStyle
plotters::drawing::backend
pub trait BackendStyle { type ColorType: Color; fn as_color(&self) -> RGBAColor; fn stroke_width(&self) -> u32 { ... } }
The style data for the backend drawing API
type ColorType: Color
The underlying type represents the color for this style
fn as_color(&self) -> RGBAColor
Convert the style into the underlying color
fn stroke_width(&self) -> u32
impl BackendStyle for ShapeStyle
type ColorType = RGBAColor
impl<T: Color> BackendStyle for T
type ColorType = T