Foxit PDF RDK

Public Member Functions | List of all members
PathInfo Class Reference

## Public Member Functions
| constructor (path)
| getPoints (pointCount)

## Detailed Description

PathInfo class that retrieves information from a given path. This class encapsulates a Path object and provides methods to access its points.

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