gdsfactory.typings.Label#
- class gdsfactory.typings.Label[source]#
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)apply_repetition()Create new labels based on this object's
repetitionattribute.copy()Create a copy this label.
delete_gds_property(attr)Delete a GDSII property of this element.
delete_property(name)Delete the first property of this element matching a name.
get_gds_property(attr)Return a GDSII property of this element.
get_property(name)Return the values of the first property of this element matching a name.
set_gds_property(attr, value)Set a GDSII property for this element.
set_property(name, value)Set a property for this element.
Attributes
anchorLabel anchor.
layerLabel layer.
magnificationLabel scaling factor.
originLabel origin.
propertiesProperties of this element.
repetitionRepetition associated with this element.
rotationLabel rotation angle.
textLabel text.
texttypeLabel text type.
x_reflectionLabel reflection across the x axis.