RoundedRectangle

ipkiss3.all.RoundedRectangle(layer, center=(0.0, 0.0), box_size=(1.0, 1.0), radius=0.0, angle_step=<ipkiss3.technology.TechValue object>)

Returns a Boundary Element with an rectangular shape with rounded corners.

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or Tuple

Center coordinate of the rectangle, defaults to (0,0)

box_sizeCoord2 or tuple with positive numbers.

Rectangular box inside which the rectangle is fitted. defaults to (1.0, 1.0)

radiusPositive number

Radius of the rounding used. defaults to 0.0

angle_steppositive angle (in degrees)

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

Returns:
Boundary element.