public class ScalePoint
extends java.awt.geom.Point2D.Double
implements java.io.Serializable
Constructor and Description |
---|
ScalePoint()
Constructor.
|
ScalePoint(double x,
double y)
Constructor with arguments.
|
Modifier and Type | Method and Description |
---|---|
double |
getX()
Method to get x value.
|
double |
getY()
Method to get y value.
|
void |
setLocation(double x,
double y)
Method to set location (x and y value).
|
void |
setX(double x)
Method to set x value.
|
void |
setY(double y)
Method to set y value.
|
public ScalePoint()
public ScalePoint(double x, double y)
x
- x-Valuey
- public double getX()
getX
in class java.awt.geom.Point2D.Double
public double getY()
getY
in class java.awt.geom.Point2D.Double
public void setX(double x)
x
- Value of xpublic void setY(double y)
y
- Value of ypublic void setLocation(double x, double y)
setLocation
in class java.awt.geom.Point2D.Double