public class PatternSVG extends FillElement
Modifier and Type | Field and Description |
---|---|
static int |
GU_OBJECT_BOUNDING_BOX |
static int |
GU_USER_SPACE_ON_USE |
static String |
TAG_NAME |
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase
Constructor and Description |
---|
PatternSVG()
Creates a new instance of Gradient
|
Modifier and Type | Method and Description |
---|---|
protected void |
build()
Called by internal processes to rebuild the geometry of this node from
it's presentation attributes, style attributes and animated tracks.
|
Paint |
getPaint(Rectangle2D bounds,
AffineTransform xform)
Requests the paint defined by this element.
|
String |
getTagName() |
void |
loaderAddChild(SVGLoaderHelper helper,
SVGElement child)
Called after the start element but before the end element to indicate
each child tag that has been processed
|
protected void |
preparePattern() |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildren
public static final String TAG_NAME
public static final int GU_OBJECT_BOUNDING_BOX
public static final int GU_USER_SPACE_ON_USE
public PatternSVG()
public String getTagName()
getTagName
in class SVGElement
public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
loaderAddChild
in class SVGElement
SVGElementException
protected void build() throws SVGException
SVGElement
build
in class SVGElement
SVGException
protected void preparePattern() throws SVGException
SVGException
public Paint getPaint(Rectangle2D bounds, AffineTransform xform)
FillElement
getPaint
in class FillElement
bounds
- - bounding box of shape being renderedxform
- - The current transformation that the shape is being
rendered under.public boolean updateTime(double curTime) throws SVGException
updateTime
in class SVGElement
SVGException
Copyright © 2011-2020 Kitfox Studios. All Rights Reserved.