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.
- layer
str
orLayer
Layer to place the path on.
- net
str
orNet
orNone
Net of the path.
- width
Value
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_style
PathCornerType
Corner style.
- points
PolygonData
Centerline polygon data to set.
- layout
- Returns:
Path
Path created.