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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_NULL_INPUT
public static final java.lang.String ERROR_NULL_INPUT
SVGGraphicContext
public SVGGraphicContext(java.util.Map groupContext,
java.util.Map graphicElementContext,
TransformStackElement[] transformStack)
- Parameters:
groupContext
- Set of attributes that apply to groupgraphicElementContext
- 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.
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.