| Modifier and Type | Class and Description |
|---|---|
| public static interface | IPdfBoxGraphics2DFontTextDrawer.
Enviroment for font based drawing of text |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true when the given text can be fully drawn using fonts. return false to have the text drawn as vector shapesHas the text and all its properties iterator, IPdfBoxGraphics2DFontTextDrawer.Environment env
|
| public void | drawText(AttributedCharacterIterator
The text with all properties iterator, IPdfBoxGraphics2DFontTextDrawer.Environment env
|
| public FontMetrics | Returns: the resulting font metricsthe Font font, IPdfBoxGraphics2DFontTextDrawer.the Environment env
|
| canDrawText | back to summary |
|---|---|
public boolean canDrawText(AttributedCharacterIterator iterator, IPdfBoxGraphics2DFontTextDrawer.
| |
| drawText | back to summary |
|---|---|
public void drawText(AttributedCharacterIterator iterator, IPdfBoxGraphics2DFontTextDrawer.
| |
| getFontMetrics | back to summary |
|---|---|
public FontMetrics getFontMetrics(Font font, IPdfBoxGraphics2DFontTextDrawer.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyPaint(Paint
Paint to apply paint, Shape the shape to draw of the text, if known. This is needed to
calculate correct gradients. shapeToDraw)Apply the given paint on the current content stream |
| public void | |
| public Graphics2D | |
| public PDPageContentStream | |
| public AffineTransform | |
| public PDDocument | |
| public Font | Returns: the current font set on the graphics. This is the "default" font to use when no other font is set on theAttributedCharacterIterator.
|
| public FontRenderContext | |
| public PDRectangle | |
| public Paint | Returns: the current paint set on the graphics. This is the "default" paint when no other paint is set on on theAttributedCharacterIterator.
|
| public PDResources |
| applyPaint | back to summary |
|---|---|
| public void applyPaint(Paint paint, Shape shapeToDraw) throws IOException Apply the given paint on the current content stream
| |
| applyStroke | back to summary |
|---|---|
| public void applyStroke(Stroke stroke) throws IOException Apply this stroke on the current content stream
| |
| getCalculationGraphics | back to summary |
|---|---|
public Graphics2D getCalculationGraphics()
| |
| getContentStream | back to summary |
|---|---|
public PDPageContentStream getContentStream()
| |
| getCurrentEffectiveTransform | back to summary |
|---|---|
public AffineTransform getCurrentEffectiveTransform()
| |
| getDocument | back to summary |
|---|---|
public PDDocument getDocument()
| |
| getFont | back to summary |
|---|---|
public Font getFont()
| |
| getFontRenderContext | back to summary |
|---|---|
public FontRenderContext getFontRenderContext()
| |
| getGraphicsBBox | back to summary |
|---|---|
public PDRectangle getGraphicsBBox()
| |
| getPaint | back to summary |
|---|---|
public Paint getPaint()
| |
| getResources | back to summary |
|---|---|
public PDResources getResources()
| |