ipkiss3.pcell.layout.elements.shape.Path

class ipkiss3.pcell.layout.elements.shape.Path(layer, shape, line_width=1.0, path_type=0, transformation=None, extension=(0.0, 0.0), **kwargs)

Layout element consisting of a closed or open Shape drawn on a given Layer with a given line width

Parameters:

line_width: required

shape: Shape, required

layer: __Layer__, required

Layout layer on which the element needs to be placed

absolute_line_width: optional

extension: tuple2 and Tuple of <type ‘float’>, optional

extension of the path at start and end: (start, end)

path_type: optional

transformation: GenericNoDistortTransform, optional

convex_hull()

returns a Shape object describing the convex hull of this element.

Returns:Shape object

See also

Shape

expand_transform()

Applies the built-in transform to the shape coordinates and the path width.

Returns:This Element object.
flat_copy(level=-1)

Returns a flattened copy (i.e. no more layout hierarchy) of this element.

Returns:ElementList object
set_line_width(new_line_width)

sets the line width property of the Path.

Parameters:new_line_width : positive number
size_info()

Returns a SizeInfo object corresponding to this element.

Returns:SizeInfo object

See also

SizeInfo