public abstract class Gradient extends FillElement
| Modifier and Type | Field and Description |
|---|---|
protected AffineTransform |
gradientTransform |
protected int |
gradientUnits |
static int |
GU_OBJECT_BOUNDING_BOX |
static int |
GU_USER_SPACE_ON_USE |
static int |
SM_PAD |
static int |
SM_REFLECT |
static int |
SM_REPEAT |
static String |
TAG_NAME |
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
Gradient()
Creates a new instance of Gradient
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendStop(Stop stop) |
protected void |
build()
Called by internal processes to rebuild the geometry of this node from
it's presentation attributes, style attributes and animated tracks.
|
Color[] |
getStopColors() |
float[] |
getStopFractions() |
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
|
void |
setStopRef(URI grad) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
getPaintaddAttribute, 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, swapChildrenpublic static final String TAG_NAME
public static final int SM_PAD
public static final int SM_REPEAT
public static final int SM_REFLECT
public static final int GU_OBJECT_BOUNDING_BOX
public static final int GU_USER_SPACE_ON_USE
protected int gradientUnits
protected AffineTransform gradientTransform
public String getTagName()
getTagName in class SVGElementpublic void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
loaderAddChild in class SVGElementSVGElementExceptionprotected void build()
throws SVGException
SVGElementbuild in class SVGElementSVGExceptionpublic float[] getStopFractions()
public Color[] getStopColors()
public void setStopRef(URI grad)
public void appendStop(Stop stop)
public boolean updateTime(double curTime)
throws SVGException
updateTime in class SVGElementSVGExceptionCopyright © 2019. All rights reserved.