[][src]Trait plotters::drawing::backend::BackendStyle

pub trait BackendStyle {
    type ColorType: Color;
    fn as_color(&self) -> RGBAColor;

    fn stroke_width(&self) -> u32 { ... }
}
[]

The style data for the backend drawing API

Associated Types

type ColorType: Color[]

The underlying type represents the color for this style

Required methods

fn as_color(&self) -> RGBAColor[]

Convert the style into the underlying color

Provided methods

fn stroke_width(&self) -> u32

Implementors

impl BackendStyle for ShapeStyle[src][]

impl<T: Color> BackendStyle for T[src][]