Foxit PDF RDK

Public Member Functions | List of all members
PathInfo Class Reference
Inheritance diagram for PathInfo:

## Public Member Functions
| constructor (path)
| getPoints (pointCount)
Public Member Functions inherited from NativeObjectWrapper
| constructor (r)
| GetPointerAsNumber ()

## Detailed Description

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.

## Member Function Documentation

## ◆ 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].