org.foray.ps
Class PsPathClose

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

public class PsPathClose
extends PsPathElement

The last segment of a new sub-path.


Constructor Summary
PsPathClose(PsPathMove subPathStart)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsPathClose

public PsPathClose(PsPathMove subPathStart)
Constructor.

Parameters:
subPathStart - The path element that starts the current sub-path.
Method Detail

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.