public class Java2DRenderingContext extends AbstractRenderingContext
Constructor and Description |
---|
Java2DRenderingContext(FOUserAgent userAgent,
Graphics2D g2d,
FontInfo fontInfo)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
Graphics2D |
getGraphics2D()
Returns the target Graphics2D object.
|
String |
getMimeType()
Returns the MIME type associated with the current output format.
|
getHint, getHints, getUserAgent, putHint, putHints
public Java2DRenderingContext(FOUserAgent userAgent, Graphics2D g2d, FontInfo fontInfo)
userAgent
- the user agentg2d
- the target Graphics2D instancefontInfo
- the font listpublic String getMimeType()
public Graphics2D getGraphics2D()
Copyright © 2025 Apache Software Foundation. All rights reserved.