mozilla

Revision 311483 of surfaceScale

  • Revision slug: SVG/Attribute/surfaceScale
  • Revision title: surfaceScale
  • Revision id: 311483
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment

Revision Content

« SVG Attribute reference home

The surfaceScale attribute represent the height of the surface for a light filter primitive. If the attribute is not specified, then the effect is as if a value of 1 were specified.

Usage context

Categories None
Value <number>
Animatable Yes
Normative document SVG 1.1 (2nd Edition) : feDiffuseLighting
SVG 1.1 (2nd Edition) : feSpecularLighting

Example

Elements

The following elements can use the surfaceScale 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>surfaceScale</code> attribute represent the height of the surface for a light filter primitive. If the attribute is not specified, then the effect is as if a value of <strong><span class="attr-value">1</span></strong> were specified.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table">
  <tbody>
    <tr>
      <th scope="row">Categories</th>
      <td><em>None</em></td>
    </tr>
    <tr>
      <th scope="row">Value</th>
      <td><a href="/en/SVG/Content_type#Number" title="en/SVG/Content_type#Paint">&lt;number&gt;</a></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#feDiffuseLightingSurfaceScaleAttribute" title="http://www.w3.org/TR/SVG11/filters.html#feDiffuseLightingSurfaceScaleAttribute">SVG 1.1 (2nd Edition) : feDiffuseLighting</a><br />
        <a href="http://www.w3.org/TR/SVG11/filters.html#feSpecularLightingSurfaceScaleAttribute" rel="external" title="http://www.w3.org/TR/SVG11/filters.html#feSpecularLightingSurfaceScaleAttribute">SVG 1.1 (2nd Edition) : feSpecularLighting</a></td>
    </tr>
  </tbody>
</table>
<h2 id="Example">Example</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>surfaceScale</code> attribute</p>
<ul>
  <li>{{ SVGElement("feDiffuseLighting") }}</li>
  <li>{{ SVGElement("feSpecularLighting") }}</li>
</ul>
Revert to this revision