elevation attribute | elevation property
Gets the direction angle for the light source from the xy plane towards the z-axis.
This property is read-only.
![]() ![]() |
Syntax
| HTML |
|---|
|
| JavaScript |
|---|
<number> = object.elevation |
Property values
Type: SVGAnimatedNumber
The direction angle for the light source from the xy plane (clockwise) towards the z-axis, in degrees.
| Value | Condition |
|---|---|
|
A number that represents the direction angle for the light source in degrees. |
String format
<number>
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.14
Remarks
If the elevation attribute is not specified, then the effect is as if a value of 0 were specified.
See also
Show:

