|
G4P (GUI for Processing) 4.3.11
A set of GUI controls for your Processing sketch.
|

Public Member Functions | |
| void | cancelInfo () |
| int | compareTo (TextLayoutHitInfo other) |
| void | copyFrom (TextLayoutHitInfo other) |
| void | setInfo (TextLayoutInfo tli, TextHitInfo thi) |
| TextLayoutHitInfo () | |
| TextLayoutHitInfo (TextLayoutHitInfo tlhi) | |
| TextLayoutHitInfo (TextLayoutInfo tli) | |
| TextLayoutHitInfo (TextLayoutInfo tli, TextHitInfo thi) | |
| String | toString () |
Public Attributes | |
| TextHitInfo | thi |
| TextLayoutInfo | tli |
For multi-line text, the TextHitInfo class is not enough. We also need information about the layout so that the caret(s) can be drawn.
| g4p_controls.StyledString.TextLayoutHitInfo.TextLayoutHitInfo | ( | ) |
Create an empty TextLayoutHitInfo object
| g4p_controls.StyledString.TextLayoutHitInfo.TextLayoutHitInfo | ( | TextLayoutInfo | tli | ) |
Create a TextLayoutHitInfo object
| tli | the text layout info |
| g4p_controls.StyledString.TextLayoutHitInfo.TextLayoutHitInfo | ( | TextLayoutInfo | tli, |
| TextHitInfo | thi | ||
| ) |
Create a TextLayoutHitInfo object
| tli | the text layout info |
| thi | the text hit information |
| g4p_controls.StyledString.TextLayoutHitInfo.TextLayoutHitInfo | ( | TextLayoutHitInfo | tlhi | ) |
Copy constructor
| tlhi | the text layout hit info to copy. |
| void g4p_controls.StyledString.TextLayoutHitInfo.cancelInfo | ( | ) |
Empty this TextLayoutInfo instance
| int g4p_controls.StyledString.TextLayoutHitInfo.compareTo | ( | TextLayoutHitInfo | other | ) |
Compare with another TextLayoutHitInfo instance
| void g4p_controls.StyledString.TextLayoutHitInfo.copyFrom | ( | TextLayoutHitInfo | other | ) |
Make this the same as another TextLayoutHitInfo object
| other | the TextLayoutHitInfo object to copy |
| void g4p_controls.StyledString.TextLayoutHitInfo.setInfo | ( | TextLayoutInfo | tli, |
| TextHitInfo | thi | ||
| ) |
Set this TextLayoutHitInfo object to a known state
| tli | the text layout inof |
| thi | the text hit information |