public abstract class PCLRenderingContext extends AbstractRenderingContext
| Constructor and Description |
|---|
PCLRenderingContext(FOUserAgent userAgent,
PCLGenerator generator,
PCLRenderingUtil pclUtil)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.xmlgraphics.java2d.GraphicContext |
getGraphicContext()
Returns the current
GraphicContext instance. |
String |
getMimeType()
Returns the MIME type associated with the current output format.
|
PCLGenerator |
getPCLGenerator()
Returns the PCL generator.
|
PCLRenderingUtil |
getPCLUtil()
Returns the PCL rendering utility.
|
boolean |
isSourceTransparencyEnabled()
Indicates whether source transparency should be enabled when painting bitmaps.
|
void |
setSourceTransparencyEnabled(boolean value)
Enables or disables source transparency when painting bitmaps.
|
abstract Point2D |
transformedPoint(int x,
int y)
Transforms a point into the PCL coordinate system.
|
getHint, getHints, getUserAgent, putHint, putHintspublic PCLRenderingContext(FOUserAgent userAgent, PCLGenerator generator, PCLRenderingUtil pclUtil)
userAgent - the user agentgenerator - the PCL generatorpclUtil - rendering utilitypublic String getMimeType()
public PCLGenerator getPCLGenerator()
public PCLRenderingUtil getPCLUtil()
public boolean isSourceTransparencyEnabled()
public void setSourceTransparencyEnabled(boolean value)
value - true to enable source transparency, false to disablepublic abstract Point2D transformedPoint(int x, int y)
x - the X coordinatey - the Y coordinatepublic abstract org.apache.xmlgraphics.java2d.GraphicContext getGraphicContext()
GraphicContext instance.Copyright © 2023 Apache Software Foundation. All rights reserved.