public abstract class PdfGlyph extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
failedOnHinting |
static int |
FontBB_HEIGHT |
static int |
FontBB_WIDTH |
static int |
FontBB_X |
static int |
FontBB_Y |
boolean |
isHinted |
| Constructor and Description |
|---|
PdfGlyph() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsBrokenData() |
boolean |
failedOnHinting() |
int |
getGlyphNumber() |
float |
getmaxWidth()
return max possible glyph width in absolute units
|
Object |
getPath() |
Area |
getShape() |
boolean |
hasHinting() |
boolean |
hasHintingApplied() |
boolean |
ignoreColors()
see if we ignore colours for type 3 font
|
boolean |
isFailedOnHinting() |
void |
render(int text_fill_type,
Graphics2D g2,
float scaling,
boolean isFormGlyph)
draw the glyph
|
void |
setGlyphNumber(int no) |
void |
setStrokedOnly(boolean b) |
void |
setT3Colors(PdfPaint strokeColor,
PdfPaint nonstrokeColor,
boolean lockColours)
used by type3 glyphs to set colour if required
|
void |
setWidth(float width) |
public boolean failedOnHinting
public boolean isHinted
public static final int FontBB_X
public static final int FontBB_Y
public static final int FontBB_WIDTH
public static final int FontBB_HEIGHT
public boolean isFailedOnHinting()
public final int getGlyphNumber()
public final void setGlyphNumber(int no)
public void render(int text_fill_type,
Graphics2D g2,
float scaling,
boolean isFormGlyph)
public float getmaxWidth()
public void setT3Colors(PdfPaint strokeColor, PdfPaint nonstrokeColor, boolean lockColours)
public boolean ignoreColors()
public Area getShape()
public void setWidth(float width)
public void setStrokedOnly(boolean b)
public boolean containsBrokenData()
public Object getPath()
public boolean hasHintingApplied()
public boolean failedOnHinting()
public boolean hasHinting()
Copyright © 2017. All rights reserved.