public class ITextTextRenderer extends java.lang.Object implements TextRenderer
?????? |
---|
ITextTextRenderer() |
?????? | ????? |
---|---|
void |
drawGlyphVector(OutputDevice outputDevice,
FSGlyphVector vector,
float x,
float y) |
void |
drawString(OutputDevice outputDevice,
java.lang.String string,
float x,
float y) |
void |
drawString(OutputDevice outputDevice,
java.lang.String string,
float x,
float y,
JustificationInfo info) |
float |
getFontScale() |
FSFontMetrics |
getFSFontMetrics(FontContext context,
FSFont font,
java.lang.String string) |
java.awt.Rectangle |
getGlyphBounds(OutputDevice outputDevice,
FSFont font,
FSGlyphVector fsGlyphVector,
int index,
float x,
float y) |
float[] |
getGlyphPositions(OutputDevice outputDevice,
FSFont font,
FSGlyphVector fsGlyphVector) |
FSGlyphVector |
getGlyphVector(OutputDevice outputDevice,
FSFont font,
java.lang.String string) |
int |
getSmoothingLevel() |
int |
getWidth(FontContext context,
FSFont font,
java.lang.String string) |
void |
setFontScale(float scale) |
void |
setSmoothingLevel(int level) |
void |
setSmoothingThreshold(float fontsize)
Set the smoothing threashold.
|
void |
setup(FontContext context) |
public void setup(FontContext context)
setup
???? TextRenderer
public void drawString(OutputDevice outputDevice, java.lang.String string, float x, float y)
drawString
???? TextRenderer
public void drawString(OutputDevice outputDevice, java.lang.String string, float x, float y, JustificationInfo info)
drawString
???? TextRenderer
public FSFontMetrics getFSFontMetrics(FontContext context, FSFont font, java.lang.String string)
getFSFontMetrics
???? TextRenderer
public int getWidth(FontContext context, FSFont font, java.lang.String string)
getWidth
???? TextRenderer
public void setFontScale(float scale)
setFontScale
???? TextRenderer
public float getFontScale()
getFontScale
???? TextRenderer
public void setSmoothingThreshold(float fontsize)
TextRenderer
setSmoothingThreshold
???? TextRenderer
public int getSmoothingLevel()
getSmoothingLevel
???? TextRenderer
public void setSmoothingLevel(int level)
setSmoothingLevel
???? TextRenderer
level
- no-oppublic java.awt.Rectangle getGlyphBounds(OutputDevice outputDevice, FSFont font, FSGlyphVector fsGlyphVector, int index, float x, float y)
getGlyphBounds
???? TextRenderer
public float[] getGlyphPositions(OutputDevice outputDevice, FSFont font, FSGlyphVector fsGlyphVector)
getGlyphPositions
???? TextRenderer
public FSGlyphVector getGlyphVector(OutputDevice outputDevice, FSFont font, java.lang.String string)
getGlyphVector
???? TextRenderer
public void drawGlyphVector(OutputDevice outputDevice, FSGlyphVector vector, float x, float y)
drawGlyphVector
???? TextRenderer