Package org.apache.batik.gvt.flow
Class WordInfo
java.lang.Object
org.apache.batik.gvt.flow.WordInfo
One line Class Desc
Complete Class Desc
- Version:
- $Id: WordInfo.java 1808001 2017-09-11 09:51:29Z ssteiner $
-
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 TypeMethodDescriptionvoid
addLineHeight
(float lineHeight) void
addLineMetrics
(GVTFont font, GVTLineMetrics lm) float
float
getGlyphGroup
(int idx) int
getIndex()
float
int
void
setAscent
(float ascent) void
setDescent
(float descent) void
setFlowLine
(Object fl) void
setGlyphGroups
(GlyphGroupInfo[] glyphGroups) void
setLineHeight
(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
-