feSpotLight | R Documentation |
This filter primitive defines a spot light source that can be used
within a lighting filter primitive: feDiffuseLighting
or
feSpecularLighting
.
feSpotLight(x = unit(0, "npc"), y = unit(0, "npc"), z = unit(0, "npc"),
pointsAtX = unit(1, "npc"), pointsAtY = unit(1, "npc"),
pointsAtZ = unit(0, "npc"), zdim = "x",
default.units = "npc", specularExponent = 1,
limitingConeAngle = NA, ...)
x |
A numeric vector or unit object specifying the x-location of the light source. |
y |
A numeric vector or unit object specifying the y-location of the light source. |
z |
A numeric vector or unit object specifying the z-location of the light source. |
pointsAtX |
A numeric vector or unit object specifying the x-location that the light points at. |
pointsAtY |
A numeric vector or unit object specifying the y-location that the light points at. |
pointsAtZ |
A numeric vector or unit object specifying the z-location that the light points at. |
zdim |
Either |
default.units |
A string indicating the default units to use if |
specularExponent |
Exponent value controlling the focus for the light source. |
limitingConeAngle |
If |
... |
Further arguments to be passed onto |
For more information about this primitive, consult the reference to the SVG specification.
An fe.spot.light
object.
Simon Potter
https://www.w3.org/TR/SVG/filters.html#feSpotLightElement
filterEffect
, fe
,
feDiffuseLighting
, feSpecularLighting
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.