draw_polygon
draw_polygon ¶
Polygon component for creating apertures.
DrawPolygon ¶
Bases: DrawCommand
Description of polygon aperture component.
Source code in src/pygerber/backend/abstract/draw_commands/draw_polygon.py
__init__ ¶
__init__(
backend: Backend,
polarity: Polarity,
center_position: Vector2D,
outer_diameter: Offset,
number_of_vertices: int,
rotation: Decimal,
) -> None
Initialize draw command.