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§
Sourcefn color(&self) -> BackendColor
fn color(&self) -> BackendColor
Get the color of current style
Provided Methods§
Sourcefn stroke_width(&self) -> u32
fn stroke_width(&self) -> u32
Get the stroke width of current style