RenderingContextpublic class Java2DRenderingContext extends AbstractRenderingContext
| Constructor | Description |
|---|---|
Java2DRenderingContext(FOUserAgent userAgent,
java.awt.Graphics2D g2d,
FontInfo fontInfo) |
Main constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Graphics2D |
getGraphics2D() |
Returns the target Graphics2D object.
|
java.lang.String |
getMimeType() |
Returns the MIME type associated with the current output format.
|
getHint, getHints, getUserAgent, putHint, putHintspublic Java2DRenderingContext(FOUserAgent userAgent, java.awt.Graphics2D g2d, FontInfo fontInfo)
userAgent - the user agentg2d - the target Graphics2D instancefontInfo - the font listCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.