[][src]Trait sfml_rust::canvas::Vertex

pub trait Vertex {
    fn position(&self) -> (f32, f32) { ... }
fn color(&self) -> Option<(f32, f32, f32, f32)> { ... } }

Vertex trait for Drawable Vertices.

Provided methods

fn position(&self) -> (f32, f32)

fn color(&self) -> Option<(f32, f32, f32, f32)>

Loading content...

Implementors

impl Vertex for ColoredVertex2D[src]

Loading content...