public class CubicCurveBuilder
extends java.lang.Object
Constructor and Description |
---|
CubicCurveBuilder(long impl_ptr) |
Modifier and Type | Method and Description |
---|---|
long |
__GetHandle() |
void |
addSourcePoint(double x,
double y)
Add a source xy point.
|
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.
|
public void destroy() throws PDFNetException
PDFNetException
public int numSourcePoints() throws PDFNetException
PDFNetException
public void addSourcePoint(double x, double y) throws PDFNetException
x
- -- the x coordinate.y
- -- the y coordinate.PDFNetException
public int numCubicPoints() throws PDFNetException
PDFNetException
public double getCubicXCoord(int index) throws PDFNetException
index
- -- the index of the coordinate. Must be less than NumCubicPoints().PDFNetException
public double getCubicYCoord(int index) throws PDFNetException
index
- -- the index of the coordinate. Must be less than NumCubicPoints().PDFNetException
public long __GetHandle()