Base class for ATextItem.
More...
Base class for ATextItem.
This class provides a basic implementation for text items, with properties for position and data.
◆ __init__()
| LabelMaker.Interfaces.IText.ATextItem.__init__ |
( |
| self, |
|
|
IPoint | start, |
|
|
str | data ) |
Initializes a text item with a starting point and data.
- Parameters
-
| start | The starting point for the text item. |
| data | The text content. |
◆ font_size() [1/2]
| IFontSize LabelMaker.Interfaces.IText.ATextItem.font_size |
( |
| self | ) |
|
Gets the font size of the text item.
- Returns
- The font size object.
◆ font_size() [2/2]
| LabelMaker.Interfaces.IText.ATextItem.font_size |
( |
| self, |
|
|
IFontSize | font_size ) |
Sets the font size of the text item.
- Parameters
-
| font_size | The font size object to set. |
◆ _font_size
◆ data
| LabelMaker.Interfaces.IText.ATextItem.data = data |
◆ start
| LabelMaker.Interfaces.IText.ATextItem.start = start |
The documentation for this class was generated from the following file:
- /Users/bob_huang/Documents/Project/UniPRTSDK_python/LabelMaker/Interfaces/IText.py