PathInfo class that retrieves information from a given path. This class encapsulates a Path object and provides methods to access its points.
- Examples
- /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.
◆ constructor()
| PathInfo.constructor |
( |
path |
| ) |
|
Constructs a PathInfo object.
- Parameters
-
| path | The Path object to retrieve information from. |
◆ getPoints()
| PathInfo.getPoints |
( |
pointCount |
| ) |
|
Gets the points on the path.
- Parameters
-
| pointCount | The total number of points on the path. |
- Returns
- An array of points, where each point is an array with three elements [x, y, type].