feDistantLight {gridSVG}R Documentation

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.

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

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

See Also

filterEffect, fe, feDiffuseLighting, feSpecularLighting.


[Package gridSVG version 1.7-5 Index]