public class GlyphGroupInfo
extends java.lang.Object
Constructor and Description |
---|
GlyphGroupInfo(GVTGlyphVector gv,
int start,
int end,
boolean[] glyphHide,
boolean glyphGroupHideLast,
float[] glyphPos,
float[] advAdj,
float[] lastAdvAdj,
boolean[] space) |
Modifier and Type | Method and Description |
---|---|
float |
getAdvance()
returns the advance to use when this glyphGroup is
not the last glyph group in a span.
|
int |
getEnd()
get the end glyph index for this glyph group.
|
int |
getGlyphCount()
get the number of glyphs that count when it's not the
last in the line (basically end-start+1-sum(hide) ).
|
GVTGlyphVector |
getGlyphVector()
Get the GlyphVector for this GlyphGroup.
|
boolean[] |
getHide() |
boolean |
getHideLast()
return true if 'end' glyph should be hidden in cases
where this is not the last glyph group in a span
|
float |
getLastAdvance()
returns the advance to use when this glyphGroup is
the last glyph group in a span.
|
int |
getLastGlyphCount()
get the number of glyphs that 'cout' when it is the
last in the line.
|
int |
getRange() |
int |
getStart()
get the start glyph index for this glyph group.
|
void |
setRange(int range) |
public GlyphGroupInfo(GVTGlyphVector gv, int start, int end, boolean[] glyphHide, boolean glyphGroupHideLast, float[] glyphPos, float[] advAdj, float[] lastAdvAdj, boolean[] space)
public GVTGlyphVector getGlyphVector()
public int getStart()
public int getEnd()
public int getGlyphCount()
public int getLastGlyphCount()
public boolean[] getHide()
public boolean getHideLast()
public float getAdvance()
public float getLastAdvance()
public void setRange(int range)
public int getRange()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.