org.apache.batik.util.awt.svg
Class SVGGraphicContext

java.lang.Object
  |
  +--org.apache.batik.util.awt.svg.SVGGraphicContext

public class SVGGraphicContext
extends java.lang.Object

Represents the SVG equivalent of a Java 2D API graphic context attribute.


Field Summary
static java.lang.String ERROR_NULL_INPUT
           
 
Constructor Summary
SVGGraphicContext(java.util.Map groupContext, java.util.Map graphicElementContext, TransformStackElement[] transformStack)
           
 
Method Summary
 java.util.Map getGraphicElementContext()
           
 java.util.Map getGroupContext()
           
 TransformStackElement[] getTransformStack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_NULL_INPUT

public static final java.lang.String ERROR_NULL_INPUT
Constructor Detail

SVGGraphicContext

public SVGGraphicContext(java.util.Map groupContext,
                         java.util.Map graphicElementContext,
                         TransformStackElement[] transformStack)
Parameters:
groupContext - Set of attributes that apply to group
graphicElementContext - Set of attributes that apply to elements but not to groups (e.g., opacity, filter).
transformStack - Sequence of transforms that where applied to create the context's current transform.
Method Detail

getGroupContext

public java.util.Map getGroupContext()
Returns:
set of attributes that can be set on a group

getGraphicElementContext

public java.util.Map getGraphicElementContext()
Returns:
set of attributes that can be set on leaf node

getTransformStack

public TransformStackElement[] getTransformStack()
Returns:
set of TransformStackElement for this context


Copyright © 2000 Apache Software Foundation. All Rights Reserved.