public static class StyledString.TextLayoutInfo extends java.lang.Object implements java.lang.Comparable<StyledString.TextLayoutInfo>
Modifier and Type | Field and Description |
---|---|
java.awt.font.TextLayout |
layout |
int |
lineNo |
int |
nbrChars |
int |
startCharIndex |
float |
yPosInPara |
Constructor and Description |
---|
StyledString.TextLayoutInfo(int lineNo,
java.awt.font.TextLayout layout,
int startCharIndex,
int nbrChars,
float yPosInPara) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StyledString.TextLayoutInfo other) |
java.lang.String |
toString() |
public java.awt.font.TextLayout layout
public int lineNo
public int startCharIndex
public int nbrChars
public float yPosInPara
public StyledString.TextLayoutInfo(int lineNo, java.awt.font.TextLayout layout, int startCharIndex, int nbrChars, float yPosInPara)
startCharIndex
- nbrChars
- yPosInPara
- public int compareTo(StyledString.TextLayoutInfo other)
compareTo
in interface java.lang.Comparable<StyledString.TextLayoutInfo>
public java.lang.String toString()
toString
in class java.lang.Object
Processing library G4P by Peter Lager. (c) 2017