Enum nannou::geom::line::Cap[][src]

pub enum Cap {
    Butt,
    Round {
        resolution: usize,
    },
    Square,
}

The kind of geometry with which a line may be capped.

Variants

A square edge that does not protrude past the ends of the line..

This is equivalent to having no cap at all.

Rounded caps with a radius equal to half the line's thickness.

Fields of Round

The number of sides used to represent the cap.

A square cap that protudes from the end of the line a distance that is equal to half of the line's thickness.

Trait Implementations

impl Copy for Cap
[src]

impl Clone for Cap
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Cap
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Cap
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Cap
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Cap

impl Sync for Cap