Package org.apache.fop.render
Class RendererContext.RendererContextWrapper
java.lang.Object
org.apache.fop.render.RendererContext.RendererContextWrapper
- Direct Known Subclasses:
PCLRendererContext
- Enclosing class:
- RendererContext
Base class for a wrapper around RendererContext to access its properties in a type-safe,
renderer-specific way.
-
Field Details
-
context
The wrapped RendererContext
-
-
Constructor Details
-
RendererContextWrapper
Main constructor- Parameters:
context
- the RendererContent instance
-
-
Method Details
-
getUserAgent
- Returns:
- the user agent
-
getCurrentXPosition
public int getCurrentXPosition()- Returns:
- the currentXPosition
-
getCurrentYPosition
public int getCurrentYPosition()- Returns:
- the currentYPosition
-
getWidth
public int getWidth()- Returns:
- the width of the image
-
getHeight
public int getHeight()- Returns:
- the height of the image
-
getForeignAttributes
- Returns:
- the foreign attributes
-
toString
-