java.lang.Object | |
↳ | com.pdftron.pdf.PathData |
Contains the information required to draw the path. Contains an array of PathSegmentType Operators and corresponding path data Points. A point may be on or off (off points are control points). The meaning of a point depends on associated id (or segment type) in the path segment type array.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | e_closepath | The Constant e_closepath. | |||||||||
int | e_conicto | The Constant e_conicto. | |||||||||
int | e_cubicto | The Constant e_cubicto. | |||||||||
int | e_lineto | The Constant e_lineto. | |||||||||
int | e_moveto | The Constant e_moveto. | |||||||||
int | e_rect | The Constant e_rect. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PathData(boolean defined, byte[] operators, double[] data_points) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
byte[] |
getOperators()
Get the current operators.
| ||||||||||
double[] |
getPoints()
Get the current data points.
| ||||||||||
boolean |
isDefined()
If PathData was acquired from Font.getGlyphPath then is
method will indicate if this is an 'undefined character code'.
| ||||||||||
void |
setOperators(byte[] operators)
Overwrite the existing operators.
| ||||||||||
void |
setPoints(double[] points)
Overwrite the existing data points.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The Constant e_closepath.
The Constant e_conicto.
The Constant e_cubicto.
The Constant e_lineto.
The Constant e_moveto.
The Constant e_rect.
Get the current operators.
Get the current data points.
If PathData was acquired from Font.getGlyphPath then is method will indicate if this is an 'undefined character code'.
Note: See Font.getGlyphPath for more information regarding what an 'undefined character code' means.
Overwrite the existing operators.
operators | The new operators to use. |
---|
Overwrite the existing data points.
points | The new data points to use. |
---|