public class AFPRenderingContext extends AbstractRenderingContext
Constructor and Description |
---|
AFPRenderingContext(FOUserAgent userAgent,
AFPResourceManager resourceManager,
AFPPaintingState paintingState,
FontInfo fontInfo,
Map foreignAttributes)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
FontInfo |
getFontInfo()
Returns the font list.
|
Map |
getForeignAttributes()
Returns a Map of foreign attributes.
|
String |
getMimeType()
Returns the MIME type associated with the current output format.
|
AFPPaintingState |
getPaintingState() |
AFPResourceManager |
getResourceManager()
Returns the resource manager.
|
getHint, getHints, getUserAgent, putHint, putHints
public AFPRenderingContext(FOUserAgent userAgent, AFPResourceManager resourceManager, AFPPaintingState paintingState, FontInfo fontInfo, Map foreignAttributes)
userAgent
- the user agentresourceManager
- the resource managerpaintingState
- the painting statefontInfo
- the font listforeignAttributes
- a map of foreign attributespublic String getMimeType()
public AFPResourceManager getResourceManager()
public AFPPaintingState getPaintingState()
public FontInfo getFontInfo()
public Map getForeignAttributes()
Copyright © 2025 Apache Software Foundation. All rights reserved.