java.lang.Object | |
↳ | com.pdftron.pdf.CubicCurveBuilder |
The class CubicCurveBuilder. Creates Cubic Curves from linear points DocumentConversion instances are created through methods belonging to the Convert class. See Convert.WordToPDFConversion for an example.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CubicCurveBuilder(long impl_ptr) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | __GetHandle() | ||||||||||
void |
addSourcePoint(double x, double y)
Add a source xy point.
| ||||||||||
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
| ||||||||||
double |
getCubicXCoord(int index)
Get the cubic X coordinate.
| ||||||||||
double |
getCubicYCoord(int index)
Get the cubic Y coordinate.
| ||||||||||
int |
numCubicPoints()
Number of generated cubic points.
| ||||||||||
int |
numSourcePoints()
Number of source points.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
Add a source xy point.
x | -- the x coordinate. |
---|---|
y | -- the y coordinate. |
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Get the cubic X coordinate.
index | -- the index of the coordinate. Must be less than NumCubicPoints(). |
---|
PDFNetException |
---|
Get the cubic Y coordinate.
index | -- the index of the coordinate. Must be less than NumCubicPoints(). |
---|
PDFNetException |
---|
Number of generated cubic points.
PDFNetException |
---|
Number of source points.
PDFNetException |
---|