|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.extension.svg.GlyphIterator
public class GlyphIterator
Field Summary | |
---|---|
static AttributedCharacterIterator.Attribute |
FLOW_LINE_BREAK
|
static AttributedCharacterIterator.Attribute |
GVT_FONT
|
static AttributedCharacterIterator.Attribute |
PREFORMATTED
|
static char |
SOFT_HYPHEN
|
static AttributedCharacterIterator.Attribute |
TEXT_COMPOUND_ID
|
static char |
ZERO_WIDTH_JOINER
|
static char |
ZERO_WIDTH_SPACE
|
Constructor Summary | |
---|---|
GlyphIterator(AttributedCharacterIterator aci,
GVTGlyphVector gv)
|
|
GlyphIterator(GlyphIterator gi)
|
Method Summary | |
---|---|
protected void |
addLeftShift(int idx,
float chAdv)
|
GlyphIterator |
copy()
|
GlyphIterator |
copy(GlyphIterator gi)
|
boolean |
done()
|
int |
getACIIndex()
|
float |
getAdj()
|
float |
getAdv()
|
char |
getChar()
|
float |
getCharAdvance()
Get the advance associated with the current glyph |
protected float |
getCharAdvance(int gvIdx)
Get the advance associated with any glyph |
float |
getCharWidth()
Get the visual advance associated with the current glyph. |
protected float |
getCharWidth(int gvIdx)
Get the visual advance associated with the current glyph. |
int |
getGlyphIndex()
|
int |
getLineBreaks()
|
float |
getMaxAscent()
|
float |
getMaxDescent()
|
float |
getMaxFontSize()
|
Point2D |
getOrigin()
|
boolean |
isBreakChar()
|
boolean |
isLastChar()
|
boolean |
isPrinting()
|
protected boolean |
isPrinting(char tstCH)
|
LineInfo |
newLine(Point2D.Float loc,
float lineWidth,
boolean partial,
Point2D.Float verticalAlignOffset)
|
void |
nextChar()
Move iterator to the next char. |
protected void |
updateLineMetrics(int end)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AttributedCharacterIterator.Attribute PREFORMATTED
public static final AttributedCharacterIterator.Attribute FLOW_LINE_BREAK
public static final AttributedCharacterIterator.Attribute TEXT_COMPOUND_ID
public static final AttributedCharacterIterator.Attribute GVT_FONT
public static final char SOFT_HYPHEN
public static final char ZERO_WIDTH_SPACE
public static final char ZERO_WIDTH_JOINER
Constructor Detail |
---|
public GlyphIterator(AttributedCharacterIterator aci, GVTGlyphVector gv)
public GlyphIterator(GlyphIterator gi)
Method Detail |
---|
public GlyphIterator copy()
public GlyphIterator copy(GlyphIterator gi)
public int getGlyphIndex()
public char getChar()
public int getACIIndex()
public float getAdv()
public Point2D getOrigin()
public float getAdj()
public float getMaxFontSize()
public float getMaxAscent()
public float getMaxDescent()
public boolean isLastChar()
public boolean done()
public boolean isBreakChar()
protected boolean isPrinting(char tstCH)
public int getLineBreaks()
public void nextChar()
protected void addLeftShift(int idx, float chAdv)
protected void updateLineMetrics(int end)
public LineInfo newLine(Point2D.Float loc, float lineWidth, boolean partial, Point2D.Float verticalAlignOffset)
public boolean isPrinting()
public float getCharAdvance()
public float getCharWidth()
protected float getCharAdvance(int gvIdx)
protected float getCharWidth(int gvIdx)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |