pub trait Ctrl: VertexSource {
// Required methods
fn num_paths(&self) -> u32;
fn color(&self, path_id: u32) -> Rgba8;
}Expand description
Trait for AGG controls that can be rendered as multi-path vertex sources.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".