Stops of the gradient
Fetch the current attributes
Fetch the current children
Fetch the events defined on the node
Fetch the innerText of the node
Fetch the tagName of the node
Fetch the tags set on the node
Animates the node using an SVGAnimate object
Mutates the SVGNode to append an child SVGNode child to the children of the current SVGNode. Then, it returns itself, for easy programming.
Adds a class to a SVGNode
Remove either all events from 1 SVGEventName, or all if not given a name
Creates a deepcopy from current SVGNode
Setter for the cx attribute
Setter for the cy attribute
Checks deeply whether two nodes are equal
Shortcut for setting fill attributes
Shortcut for setting fill attributes to a definition (See more at SVGManager.define)
Fetch a specific attribute's value
Set the gradientTransform attribute of the Gradient
Transformation
Set the gradientUnits attribute of the Gradient
Either 'userSpaceOnUse' or 'objectBoundingBox'
Set the href attribute of the Gradient
Value of href
Mutates the SVGNode to change an attribute attr by putting its value through the function f. Then, it returns itself, for easy programming.
If the attribute was not set, the call still succeeds but does nothing.
Mutates the SVGNode to add an event. Multiple functions can be set for the same event. Then, it returns itself, for easy programming.
Setter for the r attribute
Remove child at certain index
Remove all children
Mutates the SVGNode to add/change an attribute attr to value. Then, it returns itself, for easy programming.
Checks shallowly whether two nodes are equal
Set the spreadMethod attribute of the Gradient
Either 'pad', 'reflect' or 'repeat'
Shortcut for setting stroke attributes
Shortcut for setting stroke attributes to a definition (See more at SVGManager.define)
Give tag to the SVGNode to mention later
Tag given to SVGNode
Sets the innerText of the node
Returns the JS SVGElement equavalent of current SVGNode
Returns the hashstring of SVGNode
Removes tag from node, if it does not exist it does nothing.
Setter for the x attribute
Set the x1 attribute of the Linear Gradient
Length from 0-1
Set the x2 attribute of the Linear Gradient
Length from 0-1
Setter for the y attribute
Set the y1 attribute of the Linear Gradient
Length from 0-1
Set the y2 attribute of the Linear Gradient
Length from 0-1
Generated using TypeDoc
Create a Linear Gradient with
stops