kqcircuits.util.label_polygons
- kqcircuits.util.label_polygons.get_text_polygon(label: str, size: int = 500.0) Region [source]
Returns the given label string as a region.
If size argument is given as non-integer, will round it to nearest micron.
Utilizes speed ups compared to generating text geometry with KLayout’s TEXT PCells. Only supports characters layed out in the
font_polygons.oas
file.