R: Create a Point Light Source

fePointLight {gridSVG} | R Documentation

## 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`.

### 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`.

[Package gridSVG version 1.6-0 Index]