render#

classmethod Path.render(width, end_cap1, end_cap2, corner_style, path)#

Render a path.

Parameters:
widthValue

Path width.

end_cap1PathEndCapType

End cap style for the start of the path.

end_cap2PathEndCapType

End cap style for the end of the path.

corner_stylePathCornerType

Corner style.

pathPolygonData

Polygon data to set.

Returns:
PolygonData

Path rendered.