text_length method

text_length

Sets the ’textLength’ attribute, specifying the length of the text.

Returns

The current builder instance.

def text_length(self, value, type):
    ...
ParameterTypeDescription
valuefloatThe length of the text.
typeLengthTypeThe type of length measurement (e.g., pixels).

See Also