CrossPath

ipkiss3.all.CrossPath(layer, center=(0.0, 0.0), box_size=20.0, thickness=5.0, line_width=0.5)

Returns a Path forming the outline of a cross

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

centerCoord2 or Tuple

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

box_sizePositive number

size of the cross (left to right, top to bottom). Defaults to 20.0

thicknessPositive number

width of the arms of the cross. Should be smaller than box_size. Defaults to 5.0

line_widthpositive number

line_width of the path.

path_typeconstant indicating the path type

can be constants.PATH_TYPE.NORMAL, constants.PATH_TYPE.ROUNDED, constants.PATH_TYPE.EXTENDED

Returns:
Path element.

See also

Path
ShapeCross
Cross