Class IFGraphicContext

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class IFGraphicContext
    extends org.apache.xmlgraphics.java2d.GraphicContext
    Specialized graphic context class for the intermediate format renderer.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.awt.geom.AffineTransform[] EMPTY_TRANSFORM_ARRAY  
      private java.util.ArrayList groupList  
      • Fields inherited from class org.apache.xmlgraphics.java2d.GraphicContext

        background, clip, composite, defaultTransform, font, foreground, hints, paint, stroke, transform, transformStack, transformStackValid
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()
      IFGraphicContext.Group[] dropGroups()  
      IFGraphicContext.Group[] getGroups()  
      int getGroupStackSize()  
      void pushGroup​(IFGraphicContext.Group group)  
      • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY_TRANSFORM_ARRAY

        private static final java.awt.geom.AffineTransform[] EMPTY_TRANSFORM_ARRAY
      • groupList

        private java.util.ArrayList groupList
    • Constructor Detail

      • IFGraphicContext

        public IFGraphicContext()
        Default constructor.
      • IFGraphicContext

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

      • clone

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

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

        public int getGroupStackSize()
        Returns:
        size of group list