[][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

Loading content...

Required methods

fn as_color(&self) -> RGBAColor

Convert the style into the underlying color

Loading content...

Provided methods

fn stroke_width(&self) -> u32

Loading content...

Implementors

impl BackendStyle for ShapeStyle[src]

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

type ColorType = T

Loading content...