public class WordInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) float |
ascent |
(package private) float |
descent |
(package private) java.lang.Object |
flowLine |
(package private) GlyphGroupInfo[] |
glyphGroups |
(package private) int |
index |
(package private) float |
lineHeight |
Constructor and Description |
---|
WordInfo(int index) |
WordInfo(int index,
float ascent,
float descent,
float lineHeight,
GlyphGroupInfo[] glyphGroups) |
Modifier and Type | Method and Description |
---|---|
void |
addLineHeight(float lineHeight) |
void |
addLineMetrics(GVTFont font,
GVTLineMetrics lm) |
float |
getAscent() |
float |
getDescent() |
java.lang.Object |
getFlowLine() |
GlyphGroupInfo |
getGlyphGroup(int idx) |
int |
getIndex() |
float |
getLineHeight() |
int |
getNumGlyphGroups() |
void |
setAscent(float ascent) |
void |
setDescent(float descent) |
void |
setFlowLine(java.lang.Object fl) |
void |
setGlyphGroups(GlyphGroupInfo[] glyphGroups) |
void |
setLineHeight(float lineHeight) |
int index
float ascent
float descent
float lineHeight
GlyphGroupInfo[] glyphGroups
java.lang.Object flowLine
public WordInfo(int index)
WordInfo(int index, float ascent, float descent, float lineHeight, GlyphGroupInfo[] glyphGroups)
public int getIndex()
public float getAscent()
public void setAscent(float ascent)
public float getDescent()
public void setDescent(float descent)
public void addLineMetrics(GVTFont font, GVTLineMetrics lm)
public float getLineHeight()
public void setLineHeight(float lineHeight)
public void addLineHeight(float lineHeight)
public java.lang.Object getFlowLine()
public void setFlowLine(java.lang.Object fl)
public int getNumGlyphGroups()
public void setGlyphGroups(GlyphGroupInfo[] glyphGroups)
public GlyphGroupInfo getGlyphGroup(int idx)