gradient element | SVGGradientElement object
Defines a base interface that is used by SVGLinearGradientElement and SVGRadialGradientElement objects.
![]() ![]() |
Members
The SVGGradientElement object has these types of members:
Events
The SVGGradientElement object has these events.
| Event | Description |
|---|---|
| onload |
Occurs when the browser has fully parsed the element and all of its descendants. |
Properties
The SVGGradientElement object has these properties.
| Property | Description |
|---|---|
|
Gets the names of the classes that are assigned to this object. | |
|
Gets a value that indicates whether referenced resources that are not in the current document are required to correctly render a given element. | |
|
Determines if an element can acquire keyboard focus (that is, receive keyboard events) and be a target for field-to-field navigation actions (such as when a user presses the Tab key). | |
|
Gets a value that contains the definition of an optional, additional transformation from the gradient coordinate system onto the target coordinate system. | |
|
Gets a value that indicates the type of coordinate system that is used because of a transformation. | |
|
Gets an | |
|
Gets the nearest ancestor svg element. | |
|
Gets a value that determines what happens if a gradient starts or ends inside the bounds of a target rectangle. | |
|
Gets a style object. | |
|
Gets the element that established the current viewport. | |
|
Gets or sets the |
Standards information
- Scalable Vector Graphics: Gradients and Patterns, Section 13.4.1
Remarks
This element is not available for scripting.

