Learn R Programming

gridSVG (version 1.5-0)

feDistantLight: Create a Distant Light Source

Description

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

Usage

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.

Value

An fe.distant.light object.

Details

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

References

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

See Also

filterEffect, fe, feDiffuseLighting, feSpecularLighting.