gdsfactory.typings.Label

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 repetition attribute.

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

anchor

Label anchor.

layer

Label layer.

magnification

Label scaling factor.

origin

Label origin.

properties

Properties of this element.

repetition

Repetition associated with this element.

rotation

Label rotation angle.

text

Label text.

texttype

Label text type.

x_reflection

Label reflection across the x axis.