RegularPolygonPath

ipkiss3.all.RegularPolygonPath(layer, center=(0.0, 0.0), radius=1.0, n_o_sides=8, line_width=0.5)

Returns a Path Element along a closed regular polygon shape.

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or Tuple

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

radiusPositive number

Radius of the regular polygon (distance from center to vertex). defaults to 1.0

line_widthpositive number

line_width of the path.

Returns:
Path element.