com.kitfox.svg
Class FillElement

java.lang.Object
  extended by com.kitfox.svg.SVGElement
      extended by com.kitfox.svg.FillElement
Direct Known Subclasses:
Gradient, PatternSVG

public abstract class FillElement
extends SVGElement

Author:
Mark McKay, Mark McKay

Field Summary
 
Fields inherited from class com.kitfox.svg.SVGElement
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, SVG_NS, trackManager, xmlBase
 
Constructor Summary
FillElement()
          Creates a new instance of FillElement
 
Method Summary
abstract  java.awt.Paint getPaint(java.awt.geom.Rectangle2D bounds, java.awt.geom.AffineTransform xform)
          Requests the paint defined by this element.
 
Methods inherited from class com.kitfox.svg.SVGElement
addAttribute, build, buildPath, getChild, getChildren, getId, getParent, getPath, getPres, getPresAbsolute, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, loaderAddChild, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, removeChild, setAttribute, updateTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FillElement

public FillElement()
Creates a new instance of FillElement

Method Detail

getPaint

public abstract java.awt.Paint getPaint(java.awt.geom.Rectangle2D bounds,
                                        java.awt.geom.AffineTransform xform)
Requests the paint defined by this element. Passes in information to allow paint to be customized

Parameters:
bounds - - bounding box of shape being rendered
xform - - The current transformation that the shape is being rendered under.