RoundedRectanglePath

ipkiss3.all.RoundedRectanglePath(layer, center=(0.0, 0.0), box_size=(1.0, 1.0), radius=0, line_width=0.5, angle_step=1.0)

Returns a Path Element along a closed rounded rectangular shape.

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or tuple

center of the rectangle. Defaults to (0.0, 0.0)

box_sizeCoord2 or tuple of positive numbers

Box size in which the rectangle should fit.

line_widthpositive number

line_width of the path.

angle_steppositive angle (in degrees)

The angle step for the discretisation of the rounded corners. Default is extracted from TECH.METRICS.ANGLE_STEP

Returns:
Path element.