pivot.wtk.media.drawing
Class Path.MoveTo

java.lang.Object
  extended by pivot.wtk.media.drawing.Path.Operation
      extended by pivot.wtk.media.drawing.Path.MoveTo
Enclosing class:
Path

public static final class Path.MoveTo
extends Path.Operation

Adds a point to the path by moving to the specified coordinates.

Author:
tvolkert

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 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

Path.MoveTo

public Path.MoveTo()
Creates a MoveTo operation that moves to (0,0).


Path.MoveTo

public Path.MoveTo(int x,
                   int y)
Creates a MoveTo operation that moves to the specified coordinates.

Parameters:
x - The x-coordinate
y - The y-coordinate
Method Detail

getX

public int getX()
Gets the x-coordinate to which this will operation will move.


setX

public void setX(int x)
Sets the x-coordinate to which this will operation will move.


getY

public int getY()
Gets the y-coordinate to which this will operation will move.


setY

public void setY(int y)
Sets the y-coordinate to which this will operation will move.