A class representing a line shape. More...
#include <_PglLine.h>
Instance Methods | |
| (instancetype) | - initWithStart:end:lineThickness: |
| Initializes a new instance of the _PglLine class with specified start and end points and line thickness. | |
| (instancetype) | - initWithXStart:yStart:xEnd:yEnd:lineThickness: |
| Initializes a new instance of the _PglLine class with specified start and end coordinates and line thickness. | |
| (NSString *) | - description |
| Returns a string that can be sent to the printer. | |
Additional Inherited Members | |
Properties inherited from ALine | |
| id< IRuler > | ruler |
| The ruler used for placement. If not set, the default ruler setting is used. | |
| id< IPoint > | start |
| Starting point of the line. | |
| id< IPoint > | end |
| Ending point of the line. | |
| float | lineThickness |
| Thickness of the line. | |
Properties inherited from <ILine> | |
| id< IRuler > | ruler |
| The ruler used for placement. If not set, the default ruler setting is used. | |
| id< IPoint > | start |
| Starting position of line. | |
| id< IPoint > | end |
| Ending position of line. | |
| float | lineThickness |
| Thickness of line based on the ruler units in use. | |
A class representing a line shape.
This class inherits from ALine and provides functionality for initializing and describing a line.
| - (NSString *) description |
Returns a string that can be sent to the printer.
This method generates a string representation of the _PglLine 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 ALine.
| - (instancetype) initWithXStart: | (float) | xStart | |
| yStart: | (float) | yStart | |
| xEnd: | (float) | xEnd | |
| yEnd: | (float) | yEnd | |
| lineThickness: | (float) | lineThickness |
Initializes a new instance of the _PglLine class with specified start and end coordinates and line thickness.
| xStart | The x-coordinate of the starting point. |
| yStart | The y-coordinate of the starting point. |
| xEnd | The x-coordinate of the ending point. |
| yEnd | The y-coordinate of the ending point. |
| lineThickness | The thickness of the line. |