Struct printpdf::types::plugins::graphics::two_dimensional::line::Line [] [src]

pub struct Line {
    pub points: Vec<(Point, bool)>,
    pub is_closed: bool,
    pub has_fill: bool,
    pub has_stroke: bool,
    pub is_clipping_path: bool,
}

Fields

2D Points for the line

Is the line closed or open?

Should the line be filled (via winding-number rule), for polygons

Should the line have an outline (stroke)?

Is this line a clipping path?

Methods

impl Line
[src]

[src]

Sets if the line is closed or not

[src]

Sets if the line is filled

[src]

Sets if the line is stroked (has an outline)

[src]

Sets if the line is a clipping path

[src]

Trait Implementations

impl Debug for Line
[src]

[src]

Formats the value using the given formatter.

impl Clone for Line
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Line
[src]

[src]

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

impl FromIterator<(Point, bool)> for Line
[src]

[src]

Creates a value from an iterator. Read more