|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectbookExamples.ch26Graphics.LineSegment
public class LineSegment
A class to store the coordinates of one scribbled line. The complete scribble is stored as a Vector of these objects
| Field Summary | |
|---|---|
short |
x1
|
short |
x2
|
short |
y1
|
short |
y2
|
| Constructor Summary | |
|---|---|
LineSegment(short x1,
short y1,
short x2,
short y2)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public short x1
public short y1
public short x2
public short y2
| Constructor Detail |
|---|
public LineSegment(short x1,
short y1,
short x2,
short y2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||