HexagonPath

ipkiss3.all.HexagonPath(layer, center=(0.0, 0.0), radius=1.0, line_width=0.5)

Returns a Path Element along a closed regular hexagon shape.

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or Tuple

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

radiusPositive number

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

line_widthpositive number

line_width of the path.

Returns:
Path element.