Struct gerber_types::VectorLinePrimitive [] [src]

pub struct VectorLinePrimitive {
    pub exposure: bool,
    pub width: MacroDecimal,
    pub start: (MacroDecimal, MacroDecimal),
    pub end: (MacroDecimal, MacroDecimal),
    pub angle: MacroDecimal,
}

Fields

Exposure off/on

Line width, a decimal >= 0

X and Y coordinates of start point, decimals

X and Y coordinates of end point, decimals

Rotation angle of the vector line primitive

The rotation angle is specified by a decimal, in degrees. The primitive is rotated around the origin of the macro definition, i.e. the (0, 0) point of macro coordinates.

Trait Implementations

impl Debug for VectorLinePrimitive
[src]

Formats the value using the given formatter.

impl PartialEq for VectorLinePrimitive
[src]

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

This method tests for !=.

impl<W: Write> GerberCode<W> for VectorLinePrimitive
[src]