fePointLight: Create a Point Light Source

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

View source: R/filters.R

Description

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

Usage

1
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.

Details

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

Value

An fe.point.light object.

Author(s)

Simon Potter

References

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

See Also

filterEffect, fe, feDiffuseLighting, feSpecularLighting.


gridSVG documentation built on April 28, 2020, 9:05 a.m.