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: bool
Exposure off/on
width: MacroDecimal
Line width, a decimal >= 0
start: (MacroDecimal, MacroDecimal)
X and Y coordinates of start point, decimals
end: (MacroDecimal, MacroDecimal)
X and Y coordinates of end point, decimals
angle: MacroDecimal
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]
impl PartialEq for VectorLinePrimitive
[src]
fn eq(&self, __arg_0: &VectorLinePrimitive) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VectorLinePrimitive) -> bool
This method tests for !=
.