java.lang.Object
org.xhtmlrenderer.pdf.ITextTextRenderer
- All Implemented Interfaces:
org.xhtmlrenderer.extend.TextRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice, org.xhtmlrenderer.extend.FSGlyphVector vector, float x, float y) voiddrawString(org.xhtmlrenderer.extend.OutputDevice outputDevice, String string, float x, float y) voiddrawString(org.xhtmlrenderer.extend.OutputDevice outputDevice, String string, float x, float y, org.xhtmlrenderer.render.JustificationInfo info) floatorg.xhtmlrenderer.render.FSFontMetricsgetFSFontMetrics(org.xhtmlrenderer.extend.FontContext context, org.xhtmlrenderer.render.FSFont font, String string) 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.FSGlyphVectorgetGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice, org.xhtmlrenderer.render.FSFont font, String string) intgetWidth(org.xhtmlrenderer.extend.FontContext context, org.xhtmlrenderer.render.FSFont font, String string) voidsetFontScale(float scale) voidsetSmoothingThreshold(float fontsize) voidsetup(org.xhtmlrenderer.extend.FontContext context)
-
Constructor Details
-
ITextTextRenderer
public ITextTextRenderer()
-
-
Method Details
-
setup
public void setup(org.xhtmlrenderer.extend.FontContext context) - Specified by:
setupin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
drawString
public void drawString(org.xhtmlrenderer.extend.OutputDevice outputDevice, String string, float x, float y) - Specified by:
drawStringin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
drawString
public void drawString(org.xhtmlrenderer.extend.OutputDevice outputDevice, String string, float x, float y, org.xhtmlrenderer.render.JustificationInfo info) - Specified by:
drawStringin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
getFSFontMetrics
public org.xhtmlrenderer.render.FSFontMetrics getFSFontMetrics(org.xhtmlrenderer.extend.FontContext context, org.xhtmlrenderer.render.FSFont font, String string) - Specified by:
getFSFontMetricsin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
getWidth
public int getWidth(org.xhtmlrenderer.extend.FontContext context, org.xhtmlrenderer.render.FSFont font, String string) - Specified by:
getWidthin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
setFontScale
public void setFontScale(float scale) - Specified by:
setFontScalein interfaceorg.xhtmlrenderer.extend.TextRenderer
-
getFontScale
public float getFontScale()- Specified by:
getFontScalein interfaceorg.xhtmlrenderer.extend.TextRenderer
-
setSmoothingThreshold
public void setSmoothingThreshold(float fontsize) - Specified by:
setSmoothingThresholdin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
getGlyphBounds
public Rectangle getGlyphBounds(org.xhtmlrenderer.extend.OutputDevice outputDevice, org.xhtmlrenderer.render.FSFont font, org.xhtmlrenderer.extend.FSGlyphVector fsGlyphVector, int index, float x, float y) - Specified by:
getGlyphBoundsin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
getGlyphPositions
public float[] getGlyphPositions(org.xhtmlrenderer.extend.OutputDevice outputDevice, org.xhtmlrenderer.render.FSFont font, org.xhtmlrenderer.extend.FSGlyphVector fsGlyphVector) - Specified by:
getGlyphPositionsin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
getGlyphVector
public org.xhtmlrenderer.extend.FSGlyphVector getGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice, org.xhtmlrenderer.render.FSFont font, String string) - Specified by:
getGlyphVectorin interfaceorg.xhtmlrenderer.extend.TextRenderer
-
drawGlyphVector
public void drawGlyphVector(org.xhtmlrenderer.extend.OutputDevice outputDevice, org.xhtmlrenderer.extend.FSGlyphVector vector, float x, float y) - Specified by:
drawGlyphVectorin interfaceorg.xhtmlrenderer.extend.TextRenderer
-