Enum implicit::RenderMode [] [src]

pub enum RenderMode {
    Solid,
    Outline,
    BasicDashed(Vec<f32>),
    DashedRepeatingN(Vec<f32>, f32),
    DashedPerfect(Vec<f32>),
}

Variants

The shape is filled in and completely solid.

The shape is traced with an outline.

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

The shape is traced with a dashed outline.

The dash-segment length and gap length are stretched to repeat exactly N times.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more