create#

classmethod Text.create(layout, layer, center_x, center_y, text)#

Create a text object.

Parameters:
layoutLayout

Layout to create the text object in.

layerLayerLike

Layer to place the text object on.

center_xValueLike

X value of the center point.

center_yValueLike

Y value of the center point.

textstr

Text string.

Returns:
Text

Text object created.