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 doubleNO_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 booleanequals(java.lang.Object arg0)static MyPoint2Dfrom(double x, double y)doublegetCurvation(double def)doublegetX()doublegetY()booleanhasCurvation()MyPoint2DrotateZoom(RotationZoom rotationZoom)voidsetLocation(double arg0, double arg1)java.lang.StringtoString()MyPoint2DwithCurvation(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:
equalsin 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:
toStringin classjava.lang.Object
-
getCurvation
public double getCurvation(double def)
-
getX
public double getX()
- Specified by:
getXin classjava.awt.geom.Point2D
-
getY
public double getY()
- Specified by:
getYin classjava.awt.geom.Point2D
-
setLocation
public void setLocation(double arg0, double arg1)- Specified by:
setLocationin classjava.awt.geom.Point2D
-
rotateZoom
public MyPoint2D rotateZoom(RotationZoom rotationZoom)
-
hasCurvation
public boolean hasCurvation()
-
-