Top Description Constructors Methods
de.rototor.pdfbox.graphics2d

public Class PdfBoxGraphics2DFontTextForcedDrawer

extends PdfBoxGraphics2DFontTextDrawerDefaultFonts
Class Inheritance
Imports
java.text.AttributedCharacterIterator

Always draw using text, even if we know that we can not map the text correct

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawerDefaultFonts:
chooseMatchingCourierchooseMatchingHelveticachooseMatchingTimesmapDefaultFontsmapFont

Constructor Detail

PdfBoxGraphics2DFontTextForcedDrawerback to summary
public PdfBoxGraphics2DFontTextForcedDrawer()

Method Detail

canDrawTextback to summary
public boolean canDrawText(AttributedCharacterIterator iterator, IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env)

Overrides de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer.canDrawText.

Implements de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.canDrawText.

Parameters
iterator:AttributedCharacterIterator

Doc from de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.canDrawText.

Has the text and all its properties

env:IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv

Doc from de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.canDrawText.

Environment

Returns:boolean

Doc from de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.canDrawText.

true when the given text can be fully drawn using fonts. return false to have the text drawn as vector shapes

Annotations
@Override