|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jfimagine.jfgraph.geom.JFPoint
|
+--com.jfimagine.jfgraph.geom.JFArcPoint
JFArcPoint class. This class is an assistant class used to represent a certain position on a bezier curve.
| Field Summary | |
static int |
POINTTYPE_CHORD
Point on chord |
static int |
POINTTYPE_CURVE
Point on curve |
static int |
POINTTYPE_PIE_END
Point on end pie side. |
static int |
POINTTYPE_PIE_START
Point on start pie side. |
| Constructor Summary | |
JFArcPoint()
Constructor for JFArcPoint. |
|
JFArcPoint(JFArcPoint pnt)
Constructor for JFArcPoint. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a new object of the same class and with the same contents as this object. |
boolean |
equals(java.lang.Object obj,
boolean analog)
Determines whether or not two objects are equal. |
double |
getScale()
Get the angle scale. |
int |
getType()
Get the point type. |
int |
hashCode()
Returns the hashcode for this Object. |
void |
setScale(double scale)
Set the angle scale. |
void |
setType(int type)
Set the point type. |
void |
setValue(JFArcPoint pnt)
Set value of current JFArcPoint. |
java.lang.String |
toString()
Convert this object to String |
| Methods inherited from class com.jfimagine.jfgraph.geom.JFPoint |
contains, contains, distance, distance, equals, equals, flipBy, getMiddleUprightPoint, getSlope, getSlope, getX, getY, isValid, middleOf, middleOf, midPoint, midPoint, mirrorBy, moveBy, nearPoint, nearPoint, nearPoint, rotateBy, rotateBy, scaleBy, scaleBy, scaleBy, setValue, setValue, setX, setY |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int POINTTYPE_CURVE
public static final int POINTTYPE_CHORD
public static final int POINTTYPE_PIE_START
public static final int POINTTYPE_PIE_END
| Constructor Detail |
public JFArcPoint()
public JFArcPoint(JFArcPoint pnt)
pnt - A JFArcPoint.| Method Detail |
public double getScale()
public void setScale(double scale)
public int getType()
public void setType(int type)
public void setValue(JFArcPoint pnt)
public java.lang.String toString()
toString in class JFPoint
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class JFPointjava.lang.CloneNotSupportedExceptionpublic int hashCode()
hashCode in class JFPoint
public boolean equals(java.lang.Object obj,
boolean analog)
equals in class JFPointobj - an object to be compared with this objectanalog - True if use integer type to compare two points,False use double.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||