feDistantLight: Create a Distant Light Source

Description Usage Arguments Details Value Author(s) References See Also

Description

This filter primitive defines a distant light source that can be used within a lighting filter primitive: feDiffuseLighting or feSpecularLighting.

Usage

1
feDistantLight(azimuth = 0, elevation = 0, ...)

Arguments

azimuth

Direction angle for the light source on the x-y plane (clockwise), in degrees from the x axis.

elevation

Direction angle for the light source from the x-y plane towards the z axis, in degrees. Note the positive z-axis points towards the viewer of the content.

...

Further arguments to be passed onto fe.

Details

For more information about this primitive, consult the reference to the SVG specification.

Value

An fe.distant.light object.

Author(s)

Simon Potter

References

http://www.w3.org/TR/SVG/filters.html#feDistantLightElement

See Also

filterEffect, fe, feDiffuseLighting, feSpecularLighting.


sachsmc/gridSVG documentation built on May 29, 2019, 12:44 p.m.