Class: GeometryCollection

PDFNet. GeometryCollection


new GeometryCollection()

[Missing documentation]

Extends

Members


<static> SnappingMode

Properties:
Name Type Description
e_DefaultSnapMode number
e_PointOnLine number
e_LineMidpoint number
e_LineIntersection number
e_PathEndpoint number

Methods


destroy()

Destructor
Inherited From:
Returns:
Type
Promise.<void>

snapToNearest(x, y, mode)

Parameters:
Name Type Description
x number
y number
mode number
Returns:
A promise that resolves to an object of type: "PDFNet.Point"
Type
Promise.<PDFNet.Point>

snapToNearestPixel(x, y, dpi, mode)

Parameters:
Name Type Description
x number
y number
dpi number
mode number
Returns:
A promise that resolves to an object of type: "PDFNet.Point"
Type
Promise.<PDFNet.Point>

takeOwnership()

Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
Inherited From:
Returns:
Type
void