Package org.apache.batik.gvt.flow
Class WordInfo
- java.lang.Object
-
- org.apache.batik.gvt.flow.WordInfo
-
public class WordInfo extends java.lang.ObjectOne 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) floatascent(package private) floatdescent(package private) java.lang.ObjectflowLine(package private) GlyphGroupInfo[]glyphGroups(package private) intindex(package private) floatlineHeight
-
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 voidaddLineHeight(float lineHeight)voidaddLineMetrics(GVTFont font, GVTLineMetrics lm)floatgetAscent()floatgetDescent()java.lang.ObjectgetFlowLine()GlyphGroupInfogetGlyphGroup(int idx)intgetIndex()floatgetLineHeight()intgetNumGlyphGroups()voidsetAscent(float ascent)voidsetDescent(float descent)voidsetFlowLine(java.lang.Object fl)voidsetGlyphGroups(GlyphGroupInfo[] glyphGroups)voidsetLineHeight(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)
-
-