org.foray.ps
Class PsPathMove

java.lang.Object
  extended by org.foray.ps.PsPathElement
      extended by org.foray.ps.PsPathMove

public class PsPathMove
extends PsPathElement

The beginning of a new sub-path.


Constructor Summary
PsPathMove(PsNumber x, PsNumber y)
          Constructor.
 
Method Summary
 PsNumber getEndX()
          Returns the "x" value of the end-point of this element.
 PsNumber getEndY()
          Returns the "y" value of the end-point of this element.
 PsNumber getX()
          Returns the x value for this point.
 PsNumber getY()
          Returns the y value for this point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsPathMove

public PsPathMove(PsNumber x,
                  PsNumber y)
Constructor.

Parameters:
x - The x value for this point.
y - The y value for this point.
Method Detail

getX

public PsNumber getX()
Returns the x value for this point.

Returns:
The x value for this point.

getY

public PsNumber getY()
Returns the y value for this point.

Returns:
The y value for this point.

getEndX

public PsNumber getEndX()
Description copied from class: PsPathElement
Returns the "x" value of the end-point of this element.

Specified by:
getEndX in class PsPathElement
Returns:
The "x" value of the end-point of this element.

getEndY

public PsNumber getEndY()
Description copied from class: PsPathElement
Returns the "y" value of the end-point of this element.

Specified by:
getEndY in class PsPathElement
Returns:
The "y" value of the end-point of this element.


Copyright © 2017. All rights reserved.