Class 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.
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class PathData
Constructors
PathData()
Create empty path data object.
Declaration
public PathData()
PathData(bool, byte[], double[])
Create a path data object
Declaration
public PathData(bool defined, byte[] operators, double[] points)
Parameters
Type | Name | Description |
---|---|---|
bool | defined | false if this is an undefined character code |
byte[] | operators | an array of path segment types |
double[] | points | an array of path data points. |
Properties
defined
If PathData was acquired from Font.GetGlyphPath then this indicates if this is an 'undefined character code'.
Declaration
public bool defined { get; }
Property Value
Type | Description |
---|---|
bool |
operators
Array of path segment types.
Declaration
public byte[] operators { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
points
The array of path data points.
Declaration
public double[] points { get; set; }
Property Value
Type | Description |
---|---|
double[] |