Package org.xhtmlrenderer.pdf
Class ITextTextRenderer
java.lang.Object
org.xhtmlrenderer.pdf.ITextTextRenderer
- All Implemented Interfaces:
TextRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawGlyphVector(OutputDevice outputDevice, FSGlyphVector vector, float x, float y) voiddrawString(OutputDevice outputDevice, String string, float x, float y) voiddrawString(OutputDevice outputDevice, String string, float x, float y, JustificationInfo info) floatgetFSFontMetrics(FontContext context, FSFont font, String string) getGlyphBounds(OutputDevice outputDevice, FSFont font, FSGlyphVector fsGlyphVector, int index, float x, float y) float[]getGlyphPositions(OutputDevice outputDevice, FSFont font, FSGlyphVector fsGlyphVector) getGlyphVector(OutputDevice outputDevice, FSFont font, String string) intintgetWidth(FontContext context, FSFont font, String string) voidsetFontScale(float scale) voidsetSmoothingLevel(int level) voidsetSmoothingThreshold(float fontsize) voidsetup(FontContext context)
-
Constructor Details
-
ITextTextRenderer
public ITextTextRenderer()
-
-
Method Details
-
setup
- Specified by:
setupin interfaceTextRenderer
-
drawString
- Specified by:
drawStringin interfaceTextRenderer
-
drawString
public void drawString(OutputDevice outputDevice, String string, float x, float y, JustificationInfo info) - Specified by:
drawStringin interfaceTextRenderer
-
getFSFontMetrics
- Specified by:
getFSFontMetricsin interfaceTextRenderer
-
getWidth
- Specified by:
getWidthin interfaceTextRenderer
-
setFontScale
public void setFontScale(float scale) - Specified by:
setFontScalein interfaceTextRenderer
-
getFontScale
public float getFontScale()- Specified by:
getFontScalein interfaceTextRenderer
-
setSmoothingThreshold
public void setSmoothingThreshold(float fontsize) - Specified by:
setSmoothingThresholdin interfaceTextRenderer
-
getSmoothingLevel
public int getSmoothingLevel()- Specified by:
getSmoothingLevelin interfaceTextRenderer
-
setSmoothingLevel
public void setSmoothingLevel(int level) - Specified by:
setSmoothingLevelin interfaceTextRenderer
-
getGlyphBounds
public Rectangle getGlyphBounds(OutputDevice outputDevice, FSFont font, FSGlyphVector fsGlyphVector, int index, float x, float y) - Specified by:
getGlyphBoundsin interfaceTextRenderer
-
getGlyphPositions
public float[] getGlyphPositions(OutputDevice outputDevice, FSFont font, FSGlyphVector fsGlyphVector) - Specified by:
getGlyphPositionsin interfaceTextRenderer
-
getGlyphVector
- Specified by:
getGlyphVectorin interfaceTextRenderer
-
drawGlyphVector
- Specified by:
drawGlyphVectorin interfaceTextRenderer
-