|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.pageelements.SubPath
|
+--com.cete.dynamicpdf.pageelements.CurveSubPath
This class, when added to a Path, is used to create a Bézier curve to the CurveSubPath's specified location using the Source and destination control Points.
View Example
| Constructor Summary | |
CurveSubPath(float x,
float y,
float sourceControlPointX,
float sourceControlPointY,
float destinationControlPointX,
float destinationControlPointY)
Initializes a new instance of the CurveSubPath class. |
|
| Method Summary | |
void |
draw(PageWriter writer)
Draws the sub path to the given PageWriter object. |
float |
getDestinationControlPointX()
Gets the X coordinate of the destinations control point. |
float |
getDestinationControlPointY()
Gets the Y coordinate of the destinations control point. |
float |
getSourceControlPointX()
Gets the X coordinate of the sources control point. |
float |
getSourceControlPointY()
Gets the Y coordinate of the sources control point. |
float |
getX()
Gets the X coordinate of the destination. |
float |
getY()
Gets the Y coordinate of the destination. |
void |
setDestinationControlPointX(float value)
Sets the X coordinate of the destinations control point. |
void |
setDestinationControlPointY(float value)
Sets the Y coordinate of the destinations control point. |
void |
setSourceControlPointX(float value)
Sets the X coordinate of the sources control point. |
void |
setSourceControlPointY(float value)
Sets the Y coordinate of the sources control point. |
void |
setX(float value)
Sets the X coordinate of the destination. |
void |
setY(float value)
Sets the Y coordinate of the destination. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CurveSubPath(float x,
float y,
float sourceControlPointX,
float sourceControlPointY,
float destinationControlPointX,
float destinationControlPointY)
CurveSubPath class.
x - X coordinate of the destination.y - Y coordinate of the destination.sourceControlPointX - X coordinate of the sources control point.sourceControlPointY - Y coordinate of the sources control point.destinationControlPointX - X coordinate of the destinations control point.destinationControlPointY - Y coordinate of the destinations control point.CurveSubPath| Method Detail |
public void setX(float value)
public float getX()
public void setY(float value)
public float getY()
public void setSourceControlPointX(float value)
public float getSourceControlPointX()
public void setSourceControlPointY(float value)
public float getSourceControlPointY()
public void setDestinationControlPointX(float value)
public float getDestinationControlPointX()
public void setDestinationControlPointY(float value)
public float getDestinationControlPointY()
public void draw(PageWriter writer)
PageWriter object.
draw in class SubPathwriter - PageWriter object to receive the sub path's output.PageWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||