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>>
; }

Required Methods§

source

fn stroke(&mut self, geometry: G)

source

fn stroke_with_transform<TX>(&mut self, geometry: G, transform: TX)where
    TX: Into<ColumnMatrix4<f32>>,

source

fn stroke_with_color<C: Into<Color>>(&mut self, geometry: G, color: C)

source

fn stroke_with_color_and_transform<C, TX>(
    &mut self,
    geometry: G,
    color: C,
    transform: TX
)where
    C: Into<Color>,
    TX: Into<ColumnMatrix4<f32>>,

Implementors§

source§

impl<'a, G> Stroke<Vertex2D, G> for DrawList<'a>where
    G: Into<Geometry<'a, Vertex2D>>,

source§

impl<'a, G> Stroke<Vertex3D, G> for DrawList<'a>where
    G: Into<Geometry<'a, Vertex3D>>,