|
||||||||||
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.LineTo
public static final class Path.LineTo
Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates.
Constructor Summary | |
---|---|
Path.LineTo()
|
|
Path.LineTo(int x,
int y)
|
Method Summary | |
---|---|
int |
getX()
Gets the x-coordinate to which this will operation will draw a line. |
int |
getY()
Gets the y-coordinate to which this will operation will draw a line. |
void |
setLocation(int x,
int y)
Sets the location to which this will operation will draw a line. |
void |
setX(int x)
Sets the x-coordinate to which this will operation will draw a line. |
void |
setY(int y)
Sets the y-coordinate to which this will operation will draw a line. |
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.LineTo()
public Path.LineTo(int x, int y)
Method Detail |
---|
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public void setLocation(int x, int y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |