public class LinearGradient extends Gradient
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME |
gradientTransform, gradientUnits, GU_OBJECT_BOUNDING_BOX, GU_USER_SPACE_ON_USE, SM_PAD, SM_REFLECT, SM_REPEATchildren, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
LinearGradient()
Creates a new instance of LinearGradient
|
| 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.
|
java.awt.Paint |
getPaint(java.awt.geom.Rectangle2D bounds,
java.awt.geom.AffineTransform xform)
Requests the paint defined by this element.
|
java.lang.String |
getTagName() |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
appendStop, getStopColors, getStopFractions, loaderAddChild, setStopRef, setStopsaddAttribute, 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 java.lang.String TAG_NAME
public java.lang.String getTagName()
getTagName in class Gradientprotected void build()
throws SVGException
SVGElementbuild in class GradientSVGExceptionpublic java.awt.Paint getPaint(java.awt.geom.Rectangle2D bounds,
java.awt.geom.AffineTransform xform)
FillElementgetPaint in class FillElementbounds - - 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 GradientSVGException