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.

layerstr or Layer

Layer to place the path on.

netstr or Net or None

Net of the path.

widthValue

Path width.

end_cap1: :class:`.PathEndCapType`

End cap style for the start of the path.

end_cap2: :class:`.PathEndCapType`

End cap style for the end of the path.

corner_stylePathCornerType

Corner style.

pointsPolygonData

Centerline polygon data to set.

Returns:
Path

Path created.