feSpotlightElement element | SVGFESpotLightElement object
Defines a spotlight source.
![]() ![]() |
Syntax
<feSpecularLighting in="blur" surfaceScale="5" specularConstant=".75" specularExponent="20" lighting-color="#bbbbbb" result="specOut"> <feSpotLight x="-50" y="-100" z="200"/> </feSpecularLighting>
DOM Information
Inheritance Hierarchy
Members
The SVGFESpotLightElement object has these types of members:
Properties
The SVGFESpotLightElement object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
Gets a value that specifies a limiting cone that restricts the region where the light is projected. | |
| Read-only |
Gets a value that specifies the x location in the coordinate system established by attribute primitiveUnits on the filter element of the point at which the light source is pointing. | |
| Read-only |
Gets a value that specifies the y location in the coordinate system established by attribute primitiveUnits on the filter element of the point at which the light source is pointing. | |
| Read-only |
Gets a value that specifies the z location in the coordinate system established by attribute primitiveUnits on the filter element of the point at which the light source is pointing. | |
| Read-only |
Gets a value that indicates an exponent value that controls the focus for the light source. | |
|
Gets or sets the x-coordinate value. | ||
|
Gets or sets the y-coordinate value. | ||
| Read-only |
Gets a value that indicates the z location for the light source |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.16
See also

