Trait composable::views::Path
source · pub trait Path: Sized {
// Required method
fn draw(
&self,
x: f32,
y: f32,
w: f32,
h: f32,
transform: &Transform,
onto: &mut impl Output,
);
// Provided methods
fn fill(self) -> Shape<Self> { ... }
fn fixed(self, width: f32, height: f32) -> Shape<Self> { ... }
}
Available on crate features
unstable
and views
only.Required Methods§
fn draw( &self, x: f32, y: f32, w: f32, h: f32, transform: &Transform, onto: &mut impl Output, )
Provided Methods§
Object Safety§
This trait is not object safe.