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 | |
Static Public Attributes inherited from LabelMaker.Interfaces.IText.IText | |
| List | text [ITextItem] |
Static Public Attributes inherited from LabelMaker.Interfaces.IText.ITextSettings | |
| IRuler | ruler |
Static Public Attributes inherited from LabelMaker.Interfaces.IFont.IFont | |
| str | font_name |
Static Public Attributes inherited from LabelMaker.Interfaces.IFont.IFontStyle | |
| FontStyleEnum | font_style |
Static Public Attributes inherited from LabelMaker.Interfaces.IFont.IFontSizeUnits | |
| FontSizeUnitsEnum | font_size_units |
Static Public Attributes inherited from LabelMaker.Interfaces.ISettings.IRotation | |
| 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. |