A class representing a text object. More...
#include <_PglText.h>
Instance Methods | |
| (instancetype) | - init |
| Initializes a new instance of the _PglText class. | |
| (instancetype) | - initWithText: |
| Initializes a new instance of the _PglText class with the specified text item. | |
| (NSString *) | - description |
| Returns a string that can be sent to the printer. | |
Instance Methods inherited from AText | |
| (instancetype) | - initWithTextItem: |
Additional Inherited Members | |
Properties inherited from AText | |
| NSMutableArray< id< ITextItem > > * | text |
| id< IRuler > | ruler |
| NSString * | fontName |
| FontStyleEnum | fontStyle |
| FontSizeUnitsEnum | fontSizeUnits |
| AlignEnum | alignment |
| RotateEnum | rotation |
Properties inherited from <IText> | |
| NSArray< id< ITextItem > > * | text |
| List of text items that use the same text settings. | |
Properties inherited from <ITextSettings> | |
| id< IRuler > | ruler |
| Ruler to use for text positioning and font size if using ruler for font scaling/resizing. | |
Properties inherited from <IFont> | |
| NSString * | fontName |
| The name of the font to use. | |
Properties inherited from <IFontSizeUnits> | |
| FontSizeUnitsEnum | fontSizeUnits |
| Font size units for character sizing. | |
Properties inherited from <IAlignment> | |
| AlignEnum | alignment |
Properties inherited from <IRotation> | |
| RotateEnum | rotation |
A class representing a text object.
This class inherits from AText and provides functionality for initializing and describing text objects.
| - (NSString *) description |
Returns a string that can be sent to the printer.
This method generates a string representation of the _PglText instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing.
Reimplemented from AText.
| - (instancetype) init |
| - (instancetype) initWithText: | (id< ITextItem >) | text |