|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.ilu.movingletters.Line
class Line
a line for a letter.
| Field Summary | |
|---|---|
private int |
mEnd
end of line (as index to real coordinates) |
private MovingLetters |
mMovingLetters
reference to letters |
private int |
mStart
start of line (as index to real coordinates) |
| Constructor Summary | |
|---|---|
Line(MovingLetters pMovingLetters,
int pStart,
int pEnd)
create a line with letter coordinates. |
|
| Method Summary | |
|---|---|
(package private) int |
getWidth()
get the width of the line in the letter coordinate space. may be 1, 2 or 3. |
(package private) void |
paint(int pBaseX,
int pBaseY,
int pDotSize,
int pLineWidth)
draw this line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int mStart
private int mEnd
private MovingLetters mMovingLetters
| Constructor Detail |
|---|
Line(MovingLetters pMovingLetters,
int pStart,
int pEnd)
pMovingLetters - the reference to the letters instance.pStart - start of line as letter coordinate.pEnd - end of line as letter coordinate.| Method Detail |
|---|
void paint(int pBaseX,
int pBaseY,
int pDotSize,
int pLineWidth)
pBaseX - x-base position of letter coordinate 0.pBaseY - y-base position of letter coordinate 0.pDotSize - size of dots at start and end. 0 for no dot.pLineWidth - line width.int getWidth()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||