Base class for ATextItem. More...
Public Member Functions | |
| __init__ (self, IPoint start, str data) | |
| Initializes a text item with a starting point and data. | |
| IFontSize | font_size (self) |
| Gets the font size of the text item. | |
| font_size (self, IFontSize font_size) | |
| Sets the font size of the text item. | |
Public Attributes | |
| start | |
| data | |
Protected Attributes | |
| _font_size | |
Additional Inherited Members | |
Static Public Attributes inherited from LabelMaker.Interfaces.IText.ITextItem | |
| IPoint | start |
| str | data |
Base class for ATextItem.
This class provides a basic implementation for text items, with properties for position and data.
| LabelMaker.Interfaces.IText.ATextItem.__init__ | ( | self, | |
| IPoint | start, | ||
| str | data ) |
Initializes a text item with a starting point and data.
| start | The starting point for the text item. |
| data | The text content. |
Reimplemented in LabelMaker.Interfaces.IText.TextItem.
| IFontSize LabelMaker.Interfaces.IText.ATextItem.font_size | ( | self | ) |
Gets the font size of the text item.
Reimplemented from LabelMaker.Interfaces.IText.ITextItem.
| LabelMaker.Interfaces.IText.ATextItem.font_size | ( | self, | |
| IFontSize | font_size ) |
Sets the font size of the text item.
| font_size | The font size object to set. |
Reimplemented from LabelMaker.Interfaces.IText.ITextItem.
|
protected |
| LabelMaker.Interfaces.IText.ATextItem.data |
| LabelMaker.Interfaces.IText.ATextItem.start |