|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WLineF
public class WLineF
Utility class that defines a single line.
| Constructor Summary | |
|---|---|
WLineF()
Default constructor. |
|
WLineF(double x1,
double y1,
double x2,
double y2)
Construct a line connecting two points. |
|
WLineF(WPointF p1,
WPointF p2)
Construct a line connecting two points. |
|
| Method Summary | |
|---|---|
WPointF |
getP1()
Returns the first point. |
WPointF |
getP2()
Returns the second point. |
double |
getX1()
Returns the X coordinate of the first point. |
double |
getX2()
Returns the X coordinate of the second point. |
double |
getY1()
Returns the Y coordinate of the first point. |
double |
getY2()
Returns the Y coordinate of the second point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WLineF()
Constructs a line from (x1=0,y1=0) to (x2=0,
y2=0).
public WLineF(WPointF p1,
WPointF p2)
Constructs a line from p1 to p2.
public WLineF(double x1,
double y1,
double x2,
double y2)
Constructs a line from (x1,y1) to (x2,
y2).
| Method Detail |
|---|
public double getX1()
getY1(),
getP1()public double getY1()
getX1(),
getP1()public double getX2()
getY2(),
getP2()public double getY2()
getX2(),
getP2()public WPointF getP1()
getX1(),
getY1()public WPointF getP2()
getX2(),
getY2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||