Class IFGraphicContext
java.lang.Object
org.apache.xmlgraphics.java2d.GraphicContext
org.apache.fop.render.intermediate.IFGraphicContext
- All Implemented Interfaces:
Cloneable
public class IFGraphicContext
extends org.apache.xmlgraphics.java2d.GraphicContext
Specialized graphic context class for the intermediate format renderer.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
a groupstatic class
a viewport -
Field Summary
Fields inherited from class org.apache.xmlgraphics.java2d.GraphicContext
background, clip, composite, defaultTransform, font, foreground, hints, paint, stroke, transform, transformStack, transformStackValid
-
Constructor Summary
ModifierConstructorDescriptionDefault constructor.protected
IFGraphicContext
(IFGraphicContext graphicContext) Copy constructor. -
Method Summary
Methods inherited from class org.apache.xmlgraphics.java2d.GraphicContext
addRenderingHints, clip, clipRect, getBackground, getClip, getClipBounds, getColor, getComposite, getFont, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, getTransformStack, invalidateTransformStack, isTransformStackValid, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setFont, setPaint, setRenderingHint, setRenderingHints, setStroke, setTransform, shear, transform, translate, translate, validateTransformStack
-
Constructor Details
-
IFGraphicContext
public IFGraphicContext()Default constructor. -
IFGraphicContext
Copy constructor.- Parameters:
graphicContext
- the graphic context to make a copy of
-
-
Method Details
-
clone
- Overrides:
clone
in classorg.apache.xmlgraphics.java2d.GraphicContext
-
pushGroup
- Parameters:
group
- a group
-
getGroups
- Returns:
- array of groups
-
dropGroups
- Returns:
- array of groups after clearing group list
-
getGroupStackSize
public int getGroupStackSize()- Returns:
- size of group list
-