draw_rectangle
draw_rectangle
¶
Rectangle component for creating apertures.
DrawRectangle
¶
Bases: DrawCommand
Description of rectangle aperture component.
Source code in src/pygerber/backend/abstract/draw_commands/draw_rectangle.py
__init__
¶
__init__(
backend: Backend,
polarity: Polarity,
center_position: Vector2D,
x_size: Offset,
y_size: Offset,
) -> None
Initialize draw command.