Learn R Programming

gridSVG (version 1.5-0)

fePointLight: Create a Point Light Source

Description

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

Usage

fePointLight(z = unit(0, "npc"), default.units = "npc", zdim = "x", ...)

Arguments

z
A numeric vector or unit object specifying z-location.
default.units
A string indicating the default units to use if z if given as a numeric vector.
zdim
Either "x" or "y". Determines the dimension to which z will be located relative to. This is necessary because R graphics has no concept of a z-dimension.
...
Further arguments to be passed onto fe.

Value

An fe.point.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#fePointLightElement

See Also

filterEffect, fe, feDiffuseLighting, feSpecularLighting.