|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sub_arctic.text.text_bounding_rect
This class represents the bounding rectangle of some text from a text_run. This is just a convenient way to store information before generating the actual screen rectangles.
Field Summary | |
int |
height
This is the height of the text in its font. |
text_run |
run
This is the text_run this text bounding rect is from. |
int |
text_length
This is the lenght of characters we represent. |
int |
text_start
This is the starting character position we represent. |
int |
width
This is the width of the text in its font. |
Constructor Summary | |
text_bounding_rect(text_run tr,
int start,
int length)
Create a text bounding rect, given the parts of a text_run we are representing. |
Method Summary | |
java.lang.String |
toString()
Put out a representation of the text's bounding rect |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public int width
public int height
public text_run run
public int text_start
public int text_length
Constructor Detail |
public text_bounding_rect(text_run tr, int start, int length)
Method Detail |
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |