RadialLine
- ipkiss3.all.RadialLine(layer, center=(0.0, 0.0), inner_radius=1.0, outer_radius=5.0, line_width=0.5, angle=90.0, path_type=0)
Returns a Path Element along a straight line emanating from a center point.
- Parameters:
- layerLayer object, required
Layer on which the shape is drawn
- centerCoord 2 or tuple
center point from which the line emanates. defaults to (0.0, 0.0)
- inner_radiuspositive number
distance of the starting point from the center. defaults = 1.0
- outer_radiuspositive number
distance of the end point from the center. defaults to 5.0
- line_widthpositive number
line_width of the path. defaults to 0.5
- angleangle (in degrees)
angle at which the line strikes out from the center. defaults to 90.0 (along positive Y-axis)
- path_typeconstant indicating the path type
can be constants.PATH_TYPE.NORMAL, constants.PATH_TYPE.ROUNDED, constants.PATH_TYPE.EXTENDED
- Returns:
- Path element.