Package net.sourceforge.plantuml.cute
Class MyPoint2D
- java.lang.Object
-
- java.awt.geom.Point2D
-
- net.sourceforge.plantuml.cute.MyPoint2D
-
- All Implemented Interfaces:
java.lang.Cloneable
public class MyPoint2D extends java.awt.geom.Point2D
-
-
Field Summary
Fields Modifier and Type Field Description static double
NO_CURVE
-
Constructor Summary
Constructors Constructor Description MyPoint2D(java.util.StringTokenizer st)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object arg0)
static MyPoint2D
from(double x, double y)
double
getCurvation(double def)
double
getX()
double
getY()
boolean
hasCurvation()
MyPoint2D
rotateZoom(RotationZoom rotationZoom)
void
setLocation(double arg0, double arg1)
java.lang.String
toString()
MyPoint2D
withCurvation(double curvation)
-
-
-
Field Detail
-
NO_CURVE
public static final double NO_CURVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object arg0)
- Overrides:
equals
in classjava.awt.geom.Point2D
-
from
public static MyPoint2D from(double x, double y)
-
withCurvation
public MyPoint2D withCurvation(double curvation)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getCurvation
public double getCurvation(double def)
-
getX
public double getX()
- Specified by:
getX
in classjava.awt.geom.Point2D
-
getY
public double getY()
- Specified by:
getY
in classjava.awt.geom.Point2D
-
setLocation
public void setLocation(double arg0, double arg1)
- Specified by:
setLocation
in classjava.awt.geom.Point2D
-
rotateZoom
public MyPoint2D rotateZoom(RotationZoom rotationZoom)
-
hasCurvation
public boolean hasCurvation()
-
-