Struct gerber_types::CenterLinePrimitive [] [src]

pub struct CenterLinePrimitive {
    pub exposure: bool,
    pub dimensions: (MacroDecimal, MacroDecimal),
    pub center: (MacroDecimal, MacroDecimal),
    pub angle: MacroDecimal,
}

Fields

Exposure off/on (0/1)

Rectangle dimensions (width/height)

X and Y coordinates of center point, decimals

Rotation angle

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

Trait Implementations

impl Debug for CenterLinePrimitive
[src]

Formats the value using the given formatter.

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