UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
ALine Class Reference

Base class for lines. More...

#include <ALine.h>

Inheritance diagram for ALine:
<ILine> _Line _PglLine

Instance Methods

(instancetype) - initWithStart:end:lineThickness:
 Initializes a new instance of ALine with specified start and end points and line thickness.
 
(NSString *) - description
 Returns a string representation of the line for debugging purposes.
 

Properties

id< IRulerruler
 The ruler used for placement. If not set, the default ruler setting is used.
 
id< IPointstart
 Starting point of the line.
 
id< IPointend
 Ending point of the line.
 
float lineThickness
 Thickness of the line.
 
- Properties inherited from <ILine>
id< IRulerruler
 The ruler used for placement. If not set, the default ruler setting is used.
 
id< IPointstart
 Starting position of line.
 
id< IPointend
 Ending position of line.
 
float lineThickness
 Thickness of line based on the ruler units in use.
 

Detailed Description

Base class for lines.

Method Documentation

◆ description

- (NSString *) description

Returns a string representation of the line for debugging purposes.

Reimplemented in _PglLine, and _Line.

◆ initWithStart:end:lineThickness:

- (instancetype) initWithStart: (id< IPoint >) start
end: (id< IPoint >) end
lineThickness: (float) lineThickness 

Initializes a new instance of ALine with specified start and end points and line thickness.

Parameters
startThe starting point of the line.
endThe ending point of the line.
lineThicknessThe thickness of the line.
Returns
A new instance of ALine.

Reimplemented in _PglLine, and _Line.

Property Documentation

◆ end

- (id<IPoint>) end
readwritenonatomicstrong

Ending point of the line.

◆ lineThickness

- (float) lineThickness
readwritenonatomicassign

Thickness of the line.

◆ ruler

- (id<IRuler>) ruler
readwritenonatomicstrong

The ruler used for placement. If not set, the default ruler setting is used.

◆ start

- (id<IPoint>) start
readwritenonatomicstrong

Starting point of the line.


The documentation for this class was generated from the following file: