Trait solstice_2d::Stroke
source · pub trait Stroke<V: Vertex, G> {
fn stroke(&mut self, geometry: G);
fn stroke_with_transform<TX>(&mut self, geometry: G, transform: TX)
where
TX: Into<ColumnMatrix4<f32>>;
fn stroke_with_color<C: Into<Color>>(&mut self, geometry: G, color: C);
fn stroke_with_color_and_transform<C, TX>(
&mut self,
geometry: G,
color: C,
transform: TX
)
where
C: Into<Color>,
TX: Into<ColumnMatrix4<f32>>;
}