blob: b1b2a978f868be4cb290f555cfe880d098926836 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
---
title: lighting-color
slug: Web/SVG/Attribute/lighting-color
tags:
- SVG
- SVG атрибуты
- SVG фильтры
translation_of: Web/SVG/Attribute/lighting-color
---
<p>« <a href="/ru/docs/Web/SVG/Attribute" title="Справочник SVG атрибутов">Справочник SVG атрибутов</a></p>
<p>Атрибут <code>lighting-color</code> определяет цвет источника света для примитивов фильтров {{ SVGElement("feDiffuseLighting") }} и {{ SVGElement("feSpecularLighting") }}.</p>
<h2 id="Контекст_использования">Контекст использования</h2>
<table class="standard-table">
<tbody>
<tr>
<th scope="row">Категория</th>
<td>Атрибут представления</td>
</tr>
<tr>
<th scope="row">Значение</th>
<td>currentColor | <a href="/en/SVG/Content_type#Color" title="en/SVG/Content_type#Color"><color></a> | <a href="/en/SVG/Content_type#ICCColor" title="en/SVG/Content_type#ICCColor"><icccolor></a> | inherit</td>
</tr>
<tr>
<th scope="row">Начальное значение</th>
<td>white</td>
</tr>
<tr>
<th scope="row">Анимация</th>
<td>Да</td>
</tr>
<tr>
<th scope="row">Нормативный документ</th>
<td><a class="external" href="http://www.w3.org/TR/SVG11/filters.html#LightingColorProperty">SVG 1.1 (2nd Edition)</a></td>
</tr>
</tbody>
</table>
<h2 id="Примеры">Примеры</h2>
<h2 id="Элементы">Элементы</h2>
<p>Следующие элементы могут использовать атрибут <code>lighting-color</code></p>
<ul>
<li>{{ SVGElement("feDiffuseLighting") }}</li>
<li>{{ SVGElement("feSpecularLighting") }}</li>
</ul>
|