SVGFESpotLightElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

The SVGFESpotLightElement interface corresponds to the <feSpotLight> element.

EventTarget Node Element SVGElement SVGFESpotLightElement

Instance properties

This interface also inherits properties from its parent interface, SVGElement.

SVGFESpotLightElement.x Read only

An SVGAnimatedNumber corresponding to the x attribute of the given element.

SVGFESpotLightElement.y Read only

An SVGAnimatedNumber corresponding to the y attribute of the given element.

SVGFESpotLightElement.z Read only

An SVGAnimatedNumber corresponding to the z attribute of the given element.

SVGFESpotLightElement.pointAtX Read only

An SVGAnimatedNumber corresponding to the pointAtX attribute of the given element.

SVGFESpotLightElement.pointAtY Read only

An SVGAnimatedNumber corresponding to the pointAtY attribute of the given element.

SVGFESpotLightElement.pointAtZ Read only

An SVGAnimatedNumber corresponding to the pointAtZ attribute of the given element.

SVGFESpotLightElement.specularExponent Read only

An SVGAnimatedNumber corresponding to the specularExponent attribute of the given element.

SVGFESpotLightElement.limitingConeAngle Read only

An SVGAnimatedNumber corresponding to the limitingConeAngle attribute of the given element.

Instance methods

This interface does not provide any specific methods, but implements those of its parent, SVGElement.

Specifications

Specification
Filter Effects Module Level 1
# InterfaceSVGFESpotLightElement

Browser compatibility

BCD tables only load in the browser

See also