Struct gerber_types::CirclePrimitive
[−]
[src]
pub struct CirclePrimitive { pub exposure: bool, pub diameter: MacroDecimal, pub center: (MacroDecimal, MacroDecimal), pub angle: Option<MacroDecimal>, }
Fields
exposure: bool
Exposure off/on
diameter: MacroDecimal
Diameter, a decimal >= 0
center: (MacroDecimal, MacroDecimal)
X and Y coordinates of center position, decimals
angle: Option<MacroDecimal>
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. the (0, 0) point of macro coordinates.
The rotation modifier is optional. The default is no rotation. (We recommend always to set the angle explicitly.
Trait Implementations
impl Debug for CirclePrimitive
[src]
impl PartialEq for CirclePrimitive
[src]
fn eq(&self, __arg_0: &CirclePrimitive) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CirclePrimitive) -> bool
This method tests for !=
.