mozilla

Revision 59070 of lighting-color

  • Revision slug: SVG/Attribute/lighting-color
  • Revision title: lighting-color
  • Revision id: 59070
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment 88 words added, 10 words removed

Revision Content

« SVG Attribute reference home

The lighting-color attribute defines the color of the light source for filter primitives elements {{ SVGElement("feDiffuseLighting") }} and {{ SVGElement("feSpecularLighting") }}.

Usage context

Categories Presentation attribute
Value currentColor | <color> | <icccolor> | inherit
Initial value white
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Examples

Elements

The following elements can use the lighting-color attribute

  • {{ SVGElement("feDiffuseLighting") }}
  • {{ SVGElement("feSpecularLighting") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>lighting-color</code> attribute defines the color of the light source for filter primitives elements {{ SVGElement("feDiffuseLighting") }} and {{ SVGElement("feSpecularLighting") }}.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Presentation attribute</td> </tr> <tr> <th scope="row">Value</th> <td>currentColor | <a href="/en/SVG/Content_type#Color" title="en/SVG/Content_type#Color">&lt;color&gt;</a> | <a href="/en/SVG/Content_type#ICCColor" title="en/SVG/Content_type#ICCColor">&lt;icccolor&gt;</a> | inherit</td> </tr> <tr> <th scope="row">Initial value</th> <td>white</td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG11/filters.html#LightingColorProperty" title="http://www.w3.org/TR/SVG11/filters.html#LightingColorProperty">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<h2 id="Examples">Examples</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>lighting-color</code> attribute</p>
<ul> <li>{{ SVGElement("feDiffuseLighting") }}</li> <li>{{ SVGElement("feSpecularLighting") }}</li>
</ul>
Revert to this revision