z attribute | z property

Gets a value that indicates the z location for the light source in the coordinate system established by attribute primitiveUnits on the filter element, assuming that, in the initial coordinate system, the positive z-axis comes out towards the person viewing the content and assuming that one unit along the z-axis equals one unit in x and y.

This property is read-only.

Scalable Vector Graphics: Filter Effects, Section 15.25.16Internet Explorer 10

 

Syntax

HTML
<element z="<number>" ... >

 

JavaScript
<number> = object.z

 

Property values

Type: SVGAnimatedNumber

An SVGAnimatedNumber object that specifies the z-coordinate value

Standards information

Remarks

If the z attribute is not specified, then the effect is as if a value of 0 were specified.

See also

SVGFESpotLightElement

 

 

Show: