plotters_backend

Trait BackendStyle

Source
pub trait BackendStyle {
    // Required method
    fn color(&self) -> BackendColor;

    // Provided method
    fn stroke_width(&self) -> u32 { ... }
}
Expand description

The style data for the backend drawing API

Required Methods§

Source

fn color(&self) -> BackendColor

Get the color of current style

Provided Methods§

Source

fn stroke_width(&self) -> u32

Get the stroke width of current style

Implementors§