Base class for AText. More...
Public Member Functions | |
__init__ (self, Optional[ITextItem] text_item=None) | |
Initializes a text object with optional text item. | |
str | __str__ (self) |
Returns a string representation of the text object. | |
str | to_string_with_print_plane (self, Optional[object] print_plane) |
Converts the text object to a string with an optional print plane. | |
Additional Inherited Members | |
![]() | |
List | text [ITextItem] |
![]() | |
IRuler | ruler |
![]() | |
str | font_name |
![]() | |
FontStyleEnum | font_style |
![]() | |
FontSizeUnitsEnum | font_size_units |
![]() | |
RotateEnum | rotation |
Base class for AText.
This class provides a base implementation for text handling, with properties for text items, font settings, alignment, and rotation.
LabelMaker.Interfaces.IText.AText.__init__ | ( | self, | |
Optional[ITextItem] | text_item = None ) |
Initializes a text object with optional text item.
text_item | An optional initial text item to add to the text object. |
Reimplemented in LabelMaker.PGL.Text.Text, and LabelMaker.TSPL.Text.Text.
str LabelMaker.Interfaces.IText.AText.__str__ | ( | self | ) |
Returns a string representation of the text object.
Reimplemented from LabelMaker.Interfaces.IText.IText.
Reimplemented in LabelMaker.PGL.Text.Text, and LabelMaker.TSPL.Text.Text.
str LabelMaker.Interfaces.IText.AText.to_string_with_print_plane | ( | self, | |
Optional[object] | print_plane ) |
Converts the text object to a string with an optional print plane.
print_plane | An optional print plane object. |