Enum implicit::RenderMode
[−]
[src]
pub enum RenderMode { Solid, Outline, BasicDashed(Vec<f32>), DashedRepeatingN(Vec<f32>, f32), DashedPerfect(Vec<f32>), }
Variants
Solid
The shape is filled in and completely solid.
Outline
The shape is traced with an outline.
BasicDashed(Vec<f32>)
The shape is traced with a dashed outline.
The dash-segment length and gap length are pulled from the vector in an alternating pattern.
[1.0, 2.0, 3.0, 4.0, 5.0, 6.0] would produce the line
1 2 3 4 5 6 1 2 3 4 5 6
DashedRepeatingN(Vec<f32>, f32)
The shape is traced with a dashed outline.
The dash-segment length and gap length are stretched to repeat exactly N times.
DashedPerfect(Vec<f32>)
The shape is traced with a dashed outline that wraps around to end exactly where it began.
The dash-segment length and gap length are stretched the smallest amount to make the ends meet.
Trait Implementations
impl Clone for RenderMode
[src]
fn clone(&self) -> RenderMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more