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. | |
Public Member Functions inherited from LabelMaker.Interfaces.IText.IText | |
| str | __str__ (self) |
Public Attributes | |
| Optional[IRuler] | ruler = None |
| Optional[str] | font_name = None |
| str | font_style = FontStyleEnum.NORMAL |
| str | font_size_units = FontSizeUnitsEnum.POINTS |
| str | alignment = AlignEnum.DEFAULT |
| str | rotation = RotateEnum.NONE |
Additional Inherited Members | |
Static Public Attributes inherited from LabelMaker.Interfaces.IText.IText | |
| List | text [ITextItem] |
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. |
| str LabelMaker.Interfaces.IText.AText.__str__ | ( | self | ) |
Returns a string representation of the text object.
| 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. |
| str LabelMaker.Interfaces.IText.AText.alignment = AlignEnum.DEFAULT |
| Optional[str] LabelMaker.Interfaces.IText.AText.font_name = None |
| str LabelMaker.Interfaces.IText.AText.font_size_units = FontSizeUnitsEnum.POINTS |
| str LabelMaker.Interfaces.IText.AText.font_style = FontStyleEnum.NORMAL |
| str LabelMaker.Interfaces.IText.AText.rotation = RotateEnum.NONE |
| Optional[IRuler] LabelMaker.Interfaces.IText.AText.ruler = None |