Struct enamel::Shape2d [] [src]

pub struct Shape2d {
    pub vertices: Vec<Vertex>,
    pub indices: Vec<u16>,
    pub perim: Vec<u16>,
    pub radii: (f32, f32),
    pub color: [f32; 4],
}

Fields

Methods

impl Shape2d
[src]

Returns a shape with edges extended away from the center by the desired border thickness 't'.

Trait Implementations

impl Clone for Shape2d
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Shape2d
[src]

Formats the value using the given formatter.