Class WordInfo
java.lang.Object
org.apache.batik.gvt.flow.WordInfo
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) float(package private) float(package private) Object(package private) GlyphGroupInfo[](package private) int(package private) float -
Constructor Summary
ConstructorsConstructorDescriptionWordInfo(int index) WordInfo(int index, float ascent, float descent, float lineHeight, GlyphGroupInfo[] glyphGroups) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLineHeight(float lineHeight) voidaddLineMetrics(GVTFont font, GVTLineMetrics lm) floatfloatgetGlyphGroup(int idx) intgetIndex()floatintvoidsetAscent(float ascent) voidsetDescent(float descent) voidsetFlowLine(Object fl) voidsetGlyphGroups(GlyphGroupInfo[] glyphGroups) voidsetLineHeight(float lineHeight)
-
Field Details
-
index
int index -
ascent
float ascent -
descent
float descent -
lineHeight
float lineHeight -
glyphGroups
GlyphGroupInfo[] glyphGroups -
flowLine
Object flowLine
-
-
Constructor Details
-
WordInfo
public WordInfo(int index) -
WordInfo
WordInfo(int index, float ascent, float descent, float lineHeight, GlyphGroupInfo[] glyphGroups)
-
-
Method Details
-
getIndex
public int getIndex() -
getAscent
public float getAscent() -
setAscent
public void setAscent(float ascent) -
getDescent
public float getDescent() -
setDescent
public void setDescent(float descent) -
addLineMetrics
-
getLineHeight
public float getLineHeight() -
setLineHeight
public void setLineHeight(float lineHeight) -
addLineHeight
public void addLineHeight(float lineHeight) -
getFlowLine
-
setFlowLine
-
getNumGlyphGroups
public int getNumGlyphGroups() -
setGlyphGroups
-
getGlyphGroup
-