|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.WorldLibAndroid.Posn
public class Posn
To represent a point on the drawing CanvasX
Constructor Summary | |
---|---|
Posn(float x,
float y)
Constructor |
Method Summary | |
---|---|
float |
getX()
Method to get the variable x. |
float |
getY()
Method to get the variable y. |
void |
setX(float x)
Method to set the variable x. |
void |
setY(float y)
Method to set the variable y. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Posn(float x, float y)
x
- coordinate on the drawing canvas.y
- coordinate on the drawing canvas.Method Detail |
---|
public float getX()
public float getY()
public void setX(float x)
x
- coordinate in the canvas.public void setY(float y)
y
- coordinate in the canvas.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |