public final class Point
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Point |
clone() |
double |
getX()
Returns the x-coordinate of the upper-left corner of this rectangle.
|
double |
getY()
Returns the y-coordinate of the upper-left corner of this rectangle.
|
void |
offset(double x,
double y) |
void |
scale(double x,
double y) |
void |
setX(double value)
Sets the x-coordinate of the upper-left corner of this rectangle.
|
void |
setY(double value)
Sets the y-coordinate of the upper-left corner of this rectangle.
|
public final double getX()
public final void setX(double value)
public final double getY()
public final void setY(double value)
public void offset(double x,
double y)
public void scale(double x,
double y)
public Point clone()
clone in class java.lang.Object