org.foray.ps
Class PsPathElement

java.lang.Object
  extended by org.foray.ps.PsPathElement
Direct Known Subclasses:
PsPathClose, PsPathCurve, PsPathLine, PsPathMove

public abstract class PsPathElement
extends Object

Abstract superclass for all path elements.


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

Constructor Detail

PsPathElement

public PsPathElement()
Method Detail

getEndX

public abstract PsNumber getEndX()
Returns the "x" value of the end-point of this element.

Returns:
The "x" value of the end-point of this element.

getEndY

public abstract PsNumber getEndY()
Returns the "y" value of the end-point of this element.

Returns:
The "y" value of the end-point of this element.


Copyright © 2017. All rights reserved.