Interface IPathMeasure
interface IPathMeasure
Extends com.amazon.apmf.IStandard
The IPathMeasure interface provides utilities to measure a path constructed via IPathBuilder.
The path being measured is fixed at construction time (see IGraphicsModule5::makePathMeasure);
to measure a different path, create a new IPathMeasure instance.
Methods
getLength()
float getLength()
Returns the total length of the current contour, or 0 if there is no current contour
(e.g. the path is empty, or all contours have been iterated past).
Returns
float
the length of the current contour.
nextContour()
bool nextContour()
Moves to the next contour in the path.
Returns
bool
true if a next contour exists; false if there are no more contours to iterate.

