Enum printpdf::types::plugins::graphics::extgstate::LineCapStyle [] [src]

pub enum LineCapStyle {
    Butt,
    Round,
    ProjectingSquare,
}

See PDF Reference (Page 216) - Line cap (ending) style

Variants

Butt cap. The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path.

Round cap. A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.

Projecting square cap. The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.

Trait Implementations

impl Debug for LineCapStyle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for LineCapStyle
[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 Copy for LineCapStyle
[src]

impl Clone for LineCapStyle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Into<i64> for LineCapStyle
[src]

[src]

Performs the conversion.

impl Into<Operation> for LineCapStyle
[src]

[src]

Performs the conversion.

impl Into<Object> for LineCapStyle
[src]

[src]

Performs the conversion.