Constructor and Description |
---|
Point2DInt(int x,
int y) |
Modifier and Type | Method and Description |
---|---|
Point2DInt |
getPosition() |
double |
getX() |
int |
getXint() |
double |
getY() |
int |
getYint() |
Point2DInt |
inflateX(InflateData inflateData) |
Point2DInt |
inflateX(int xpos,
int inflation) |
Point2DInt |
inflateY(InflateData inflateData) |
Point2DInt |
inflateY(int ypos,
int inflation) |
void |
setLocation(double x,
double y) |
java.lang.String |
toString() |
Point2DInt |
translate(int deltaX,
int deltaY) |
public java.lang.String toString()
toString
in class java.lang.Object
public int getXint()
public int getYint()
public double getX()
getX
in class java.awt.geom.Point2D
public double getY()
getY
in class java.awt.geom.Point2D
public void setLocation(double x, double y)
setLocation
in class java.awt.geom.Point2D
public Point2DInt getPosition()
getPosition
in interface Pointable
public Point2DInt translate(int deltaX, int deltaY)
public Point2DInt inflateX(int xpos, int inflation)
public Point2DInt inflateX(InflateData inflateData)
public Point2DInt inflateY(InflateData inflateData)
public Point2DInt inflateY(int ypos, int inflation)