PathEndType
GDS path end type.
PathEndType controls how the start and end of a path are rendered. It is
used with Cell.add_path() to select the cap style.
cell.add_path(
[Point(0, 0), Point(100, 0)],
width=0.5,
layer=Layer(1, 0),
end_type=PathEndType.ROUND,
)Variants
attributeFLUSHPathEndTypeFlush (square) ends at path endpoints. The path terminates exactly at the first and last point with no extension. This is the default.
attributeROUNDPathEndTypeRound ends. A semicircle with diameter equal to the path width is drawn at each endpoint.
attributeHALF_WIDTH_EXTENSIONPathEndTypeSquare ends extending half the path width past the endpoints. Each end is
extended by width / 2 along the path direction.