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. | |
![]() | |
(instancetype) | - initWithTextItem: |
Additional Inherited Members | |
![]() | |
NSMutableArray< id< ITextItem > > * | text |
id< IRuler > | ruler |
NSString * | fontName |
FontStyleEnum | fontStyle |
FontSizeUnitsEnum | fontSizeUnits |
AlignEnum | alignment |
RotateEnum | rotation |
![]() | |
NSArray< id< ITextItem > > * | text |
List of text items that use the same text settings. | |
![]() | |
id< IRuler > | ruler |
Ruler to use for text positioning and font size if using ruler for font scaling/resizing. | |
![]() | |
NSString * | fontName |
The name of the font to use. | |
![]() | |
FontSizeUnitsEnum | fontSizeUnits |
Font size units for character sizing. | |
![]() | |
AlignEnum | alignment |
![]() | |
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 |