|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.media.drawing.Path.Operation
org.apache.pivot.wtk.media.drawing.Path.MoveTo
public static final class Path.MoveTo
Adds a point to the path by moving to the specified coordinates.
Constructor Summary | |
---|---|
Path.MoveTo()
Creates a MoveTo operation that moves to (0,0). |
|
Path.MoveTo(int x,
int y)
Creates a MoveTo operation that moves to the specified coordinates. |
Method Summary | |
---|---|
int |
getX()
Gets the x-coordinate to which this will operation will move. |
int |
getY()
Gets the y-coordinate to which this will operation will move. |
void |
setX(int x)
Sets the x-coordinate to which this will operation will move. |
void |
setY(int y)
Sets the y-coordinate to which this will operation will move. |
Methods inherited from class org.apache.pivot.wtk.media.drawing.Path.Operation |
---|
getPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Path.MoveTo()
public Path.MoveTo(int x, int y)
x
- The x-coordinatey
- The y-coordinateMethod Detail |
---|
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |