Foxit PDF RDK
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
pathThe Path object to retrieve information from.

◆ getPoints()

PathInfo.getPoints ( pointCount  )

Gets the points on the path.

Parameters
pointCountThe total number of points on the path.
Returns
An array of points, where each point is an array with three elements [x, y, type].