ipkiss3.all.Line(layer, begin_coord=(0.0, 0.0), end_coord=(10.0, 0.0), line_width=1.0, path_type=0)

Returns a Path Element along a straight line.

layerLayer object, required

Layer on which the shape is drawn

begin_coordCoord2 or Tuple

starting coordinate of the line. defaults to (0,0)

end_coordCoord2 or Tuple

ending coordinate of the line . defaults to (10.0,0)

line_widthpositive number

line_width of the line.

path_typeconstant indicating the path type

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

Path element.

See also

Path, RadialLine