|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfig.objects.FigPolyline jfig.objects.FigXSpline jfig.objects.FigGeneralXSpline
a simple subclass of the generic FigXSpline which allows arbitrary control point scalefactors.
Field Summary |
Fields inherited from class jfig.objects.FigXSpline |
sfactors, wcp_spline |
Fields inherited from class jfig.objects.FigPolyline |
attribs, bbox, comment, debug, is_closed, min_i, min_num_points, painter, renderer, selected, showPoints, syncRedrawFlag, trafo, visible, wcp |
Constructor Summary | |
FigGeneralXSpline(int x0,
int y0,
boolean is_closed,
FigAttribs attribs,
FigTrafo2D trafo)
|
|
FigGeneralXSpline(int x0,
int y0,
FigAttribs attribs,
FigTrafo2D trafo)
|
Method Summary | |
FigObject |
copy()
build a copy of this FigXSpline. |
void |
createSfactors()
default method to create the interpolation control sfactors. |
java.awt.Point |
deletePoint(java.awt.Point wp)
delete a Point wp from this polyline. |
void |
insertPoint(java.awt.Point wp,
java.awt.Point wprev)
insert a Point wp after Point wprev into the Point array. |
void |
rebuild()
rebuild all internal data-structures for this polyline. |
Methods inherited from class jfig.objects.FigXSpline |
createRenderer, dumpSfactors, dumpXsplinePoints, getSFactors, getSplinePoints, setSFactors, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FigGeneralXSpline(int x0, int y0, FigAttribs attribs, FigTrafo2D trafo)
public FigGeneralXSpline(int x0, int y0, boolean is_closed, FigAttribs attribs, FigTrafo2D trafo)
Method Detail |
public void createSfactors()
FigXSpline
createSfactors
in class FigXSpline
public FigObject copy()
FigXSpline
copy
in interface FigObject
copy
in class FigXSpline
public void insertPoint(java.awt.Point wp, java.awt.Point wprev)
insertPoint
in interface FigObject
insertPoint
in class FigPolyline
public java.awt.Point deletePoint(java.awt.Point wp)
deletePoint
in interface FigObject
deletePoint
in class FigPolyline
public void rebuild()
FigPolyline
rebuild
in interface FigObject
rebuild
in class FigXSpline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |