|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.ps.PsPathElement
org.foray.ps.PsPathLine
public class PsPathLine
A line segment in a path. This class stores only the end-point of the line segment. The beginning of the line segment is defined as the end point of the previous element in the path.
| Constructor Summary | |
|---|---|
PsPathLine(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 |
|---|
public PsPathLine(PsNumber x,
PsNumber y)
x - The x value for this point.y - The y value for this point.| Method Detail |
|---|
public PsNumber getX()
public PsNumber getY()
public PsNumber getEndX()
PsPathElement
getEndX in class PsPathElementpublic PsNumber getEndY()
PsPathElement
getEndY in class PsPathElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||