public class Java2DRenderingContext extends AbstractRenderingContext
Constructor and Description |
---|
Java2DRenderingContext(FOUserAgent userAgent,
java.awt.Graphics2D g2d,
FontInfo fontInfo)
Main constructor.
|
Modifier and Type | Method and 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, putHints
public Java2DRenderingContext(FOUserAgent userAgent, java.awt.Graphics2D g2d, FontInfo fontInfo)
userAgent
- the user agentg2d
- the target Graphics2D instancefontInfo
- the font listCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.