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§