shape_to_polygon_data#

EdbLayout.shape_to_polygon_data(shape)[source]#

Convert a shape to polygon data.

Parameters:
shapepyaedt.edb_core.layout.EdbLayout.Shape

Type of the shape to convert. Options are "rectangle" and "polygon".