Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
org.gamecontrolplus.gui.MStyledString.TextLayoutInfo Class Reference
Inheritance diagram for org.gamecontrolplus.gui.MStyledString.TextLayoutInfo:

Public Member Functions

 TextLayoutInfo (int lineNo, TextLayout layout, int startCharIndex, int nbrChars, float yPosInPara)
 
int compareTo (TextLayoutInfo other)
 
String toString ()
 

Public Attributes

TextLayout layout
 
int lineNo
 
int startCharIndex
 
int nbrChars
 
float yPosInPara
 

Detailed Description

Class to hold information about a text layout. This class helps simplify the algorithms needed for multi-line text.

Author
Peter Lager

Constructor & Destructor Documentation

org.gamecontrolplus.gui.MStyledString.TextLayoutInfo.TextLayoutInfo ( int  lineNo,
TextLayout  layout,
int  startCharIndex,
int  nbrChars,
float  yPosInPara 
)
Parameters
startCharIndex
nbrChars
yPosInPara