create#

classmethod Path.create(layout, layer, net, width, end_cap1, end_cap2, corner_style, points)#

Create a path.

Parameters:
layoutLayout

Layout to create the path in.

layerLayerLike

Layer to place the path on.

netNetLike or None

Net of the path.

widthValueLike

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.

pointsPolygonData

Centerline polygon data to set.

Returns:
Path

Path created.