Struct printpdf::types::plugins::graphics::extgstate::LineDashPattern [] [src]

pub struct LineDashPattern {
    pub offset: i64,
    pub dash_1: Option<i64>,
    pub gap_1: Option<i64>,
    pub dash_2: Option<i64>,
    pub gap_2: Option<i64>,
    pub dash_3: Option<i64>,
    pub gap_3: Option<i64>,
}

Line dash pattern is made up of a total width

Fields

Offset at which the dashing pattern should start, measured from the beginning ot the line Default: 0 (start directly where the line starts)

Length of the first dash in the dash pattern. If None, the line will be solid (good for resetting the dash pattern)

Whitespace after the first dash. If None, whitespace will be the same as length_1st, meaning that the line will have dash - whitespace - dash - whitespace in even offsets

Length of the second dash in the dash pattern. If None, will be equal to length_1st

Same as whitespace_1st, but for length_2nd

Length of the second dash in the dash pattern. If None, will be equal to length_1st

Same as whitespace_1st, but for length_3rd

Methods

impl LineDashPattern
[src]

[src]

Creates a new dash pattern

[src]

Creates a new dash pattern

Trait Implementations

impl Debug for LineDashPattern
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for LineDashPattern
[src]

[src]

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

[src]

This method tests for !=.

impl Copy for LineDashPattern
[src]

impl Clone for LineDashPattern
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Into<(Vec<i64>, i64)> for LineDashPattern
[src]

[src]

Performs the conversion.

impl Into<Operation> for LineDashPattern
[src]

[src]

Performs the conversion.

impl Into<Object> for LineDashPattern
[src]

[src]

Performs the conversion.