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.
  • Field Details

    • EMPTY_TRANSFORM_ARRAY

      private static final AffineTransform[] EMPTY_TRANSFORM_ARRAY
    • groupList

      private ArrayList groupList
  • Constructor Details

    • IFGraphicContext

      public IFGraphicContext()
      Default constructor.
    • IFGraphicContext

      protected IFGraphicContext(IFGraphicContext graphicContext)
      Copy constructor.
      Parameters:
      graphicContext - the graphic context to make a copy of
  • Method Details

    • clone

      public Object clone()
      Overrides:
      clone in class org.apache.xmlgraphics.java2d.GraphicContext
    • pushGroup

      public void pushGroup(IFGraphicContext.Group group)
      Parameters:
      group - a group
    • getGroups

      public IFGraphicContext.Group[] getGroups()
      Returns:
      array of groups
    • dropGroups

      public IFGraphicContext.Group[] dropGroups()
      Returns:
      array of groups after clearing group list
    • getGroupStackSize

      public int getGroupStackSize()
      Returns:
      size of group list