create#
- classmethod Path.create(layout, layer, net, width, end_cap1, end_cap2, corner_style, points)#
Create a path.
- Parameters:
- layout
Layout Layout to create the path in.
- layerLayerLike
Layer to place the path on.
- netNetLike or
None Net of the path.
- widthValueLike
Path width.
- end_cap1
PathEndCapType End cap style for the start of the path.
- end_cap2
PathEndCapType End cap style for the end of the path.
- corner_style
PathCornerType Corner style.
- points
PolygonData Centerline polygon data to set.
- layout
- Returns:
PathPath created.