EllipsePath

ipkiss3.all.EllipsePath(layer, center=(0.0, 0.0), box_size=(1.0, 1.0), line_width=0.5, angle_step=1.0)

Returns a Path Element along a closed elliptical path.

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or tuple

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

box_sizeCoord2 or tuple of positive numbers

Box size in which the ellipse 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.