Enum stdweb::web::LineCap [] [src]

pub enum LineCap {
    Butt,
    Round,
    Square,
}

How the end points of every line are drawn.

(JavaScript docs)

Variants

The ends of lines are squared off at the endpoints

The ends of lines are rounded

The ends of lines are squared off by adding a box with an equal width and half the height of the line's thickness.

Trait Implementations

impl Debug for LineCap
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for LineCap
[src]

impl Clone for LineCap
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for LineCap
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for LineCap
[src]

Auto Trait Implementations

impl Send for LineCap

impl Sync for LineCap