public class ITextTextRenderer extends Object implements org.xhtmlrenderer.extend.TextRenderer
| Constructor and Description |
|---|
ITextTextRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice,
org.xhtmlrenderer.extend.FSGlyphVector vector,
float x,
float y) |
void |
drawString(org.xhtmlrenderer.extend.OutputDevice outputDevice,
String string,
float x,
float y) |
void |
drawString(org.xhtmlrenderer.extend.OutputDevice outputDevice,
String string,
float x,
float y,
org.xhtmlrenderer.render.JustificationInfo info) |
float |
getFontScale() |
org.xhtmlrenderer.render.FSFontMetrics |
getFSFontMetrics(org.xhtmlrenderer.extend.FontContext context,
org.xhtmlrenderer.render.FSFont font,
String string) |
Rectangle |
getGlyphBounds(org.xhtmlrenderer.extend.OutputDevice outputDevice,
org.xhtmlrenderer.render.FSFont font,
org.xhtmlrenderer.extend.FSGlyphVector fsGlyphVector,
int index,
float x,
float y) |
float[] |
getGlyphPositions(org.xhtmlrenderer.extend.OutputDevice outputDevice,
org.xhtmlrenderer.render.FSFont font,
org.xhtmlrenderer.extend.FSGlyphVector fsGlyphVector) |
org.xhtmlrenderer.extend.FSGlyphVector |
getGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice,
org.xhtmlrenderer.render.FSFont font,
String string) |
int |
getSmoothingLevel() |
int |
getWidth(org.xhtmlrenderer.extend.FontContext context,
org.xhtmlrenderer.render.FSFont font,
String string) |
void |
setFontScale(float scale) |
void |
setSmoothingLevel(int level) |
void |
setSmoothingThreshold(float fontsize) |
void |
setup(org.xhtmlrenderer.extend.FontContext context) |
public void setup(org.xhtmlrenderer.extend.FontContext context)
setup in interface org.xhtmlrenderer.extend.TextRendererpublic void drawString(org.xhtmlrenderer.extend.OutputDevice outputDevice,
String string,
float x,
float y)
drawString in interface org.xhtmlrenderer.extend.TextRendererpublic void drawString(org.xhtmlrenderer.extend.OutputDevice outputDevice,
String string,
float x,
float y,
org.xhtmlrenderer.render.JustificationInfo info)
drawString in interface org.xhtmlrenderer.extend.TextRendererpublic org.xhtmlrenderer.render.FSFontMetrics getFSFontMetrics(org.xhtmlrenderer.extend.FontContext context,
org.xhtmlrenderer.render.FSFont font,
String string)
getFSFontMetrics in interface org.xhtmlrenderer.extend.TextRendererpublic int getWidth(org.xhtmlrenderer.extend.FontContext context,
org.xhtmlrenderer.render.FSFont font,
String string)
getWidth in interface org.xhtmlrenderer.extend.TextRendererpublic void setFontScale(float scale)
setFontScale in interface org.xhtmlrenderer.extend.TextRendererpublic float getFontScale()
getFontScale in interface org.xhtmlrenderer.extend.TextRendererpublic void setSmoothingThreshold(float fontsize)
setSmoothingThreshold in interface org.xhtmlrenderer.extend.TextRendererpublic int getSmoothingLevel()
getSmoothingLevel in interface org.xhtmlrenderer.extend.TextRendererpublic void setSmoothingLevel(int level)
setSmoothingLevel in interface org.xhtmlrenderer.extend.TextRendererpublic Rectangle getGlyphBounds(org.xhtmlrenderer.extend.OutputDevice outputDevice, org.xhtmlrenderer.render.FSFont font, org.xhtmlrenderer.extend.FSGlyphVector fsGlyphVector, int index, float x, float y)
getGlyphBounds in interface org.xhtmlrenderer.extend.TextRendererpublic float[] getGlyphPositions(org.xhtmlrenderer.extend.OutputDevice outputDevice,
org.xhtmlrenderer.render.FSFont font,
org.xhtmlrenderer.extend.FSGlyphVector fsGlyphVector)
getGlyphPositions in interface org.xhtmlrenderer.extend.TextRendererpublic org.xhtmlrenderer.extend.FSGlyphVector getGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice,
org.xhtmlrenderer.render.FSFont font,
String string)
getGlyphVector in interface org.xhtmlrenderer.extend.TextRendererpublic void drawGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice,
org.xhtmlrenderer.extend.FSGlyphVector vector,
float x,
float y)
drawGlyphVector in interface org.xhtmlrenderer.extend.TextRendererCopyright © 2021. All rights reserved.