Package org.apache.batik.gvt.flow
Class WordInfo
- java.lang.Object
-
- org.apache.batik.gvt.flow.WordInfo
-
public class WordInfo extends java.lang.Object
One line Class Desc Complete Class Desc- Version:
- $Id: WordInfo.java 1808001 2017-09-11 09:51:29Z ssteiner $
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description WordInfo(int index)
WordInfo(int index, float ascent, float descent, float lineHeight, GlyphGroupInfo[] glyphGroups)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
index
int index
-
ascent
float ascent
-
descent
float descent
-
lineHeight
float lineHeight
-
glyphGroups
GlyphGroupInfo[] glyphGroups
-
flowLine
java.lang.Object flowLine
-
-
Constructor Detail
-
WordInfo
public WordInfo(int index)
-
WordInfo
WordInfo(int index, float ascent, float descent, float lineHeight, GlyphGroupInfo[] glyphGroups)
-
-
Method Detail
-
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
public void addLineMetrics(GVTFont font, GVTLineMetrics lm)
-
getLineHeight
public float getLineHeight()
-
setLineHeight
public void setLineHeight(float lineHeight)
-
addLineHeight
public void addLineHeight(float lineHeight)
-
getFlowLine
public java.lang.Object getFlowLine()
-
setFlowLine
public void setFlowLine(java.lang.Object fl)
-
getNumGlyphGroups
public int getNumGlyphGroups()
-
setGlyphGroups
public void setGlyphGroups(GlyphGroupInfo[] glyphGroups)
-
getGlyphGroup
public GlyphGroupInfo getGlyphGroup(int idx)
-
-