pointsAtZ

  • Revision slug: Web/SVG/Attribute/pointsAtZ
  • Revision title: pointsAtZ
  • Revision id: 427295
  • Created:
  • Creator: Jeremie
  • Is current revision? Yes
  • Comment Moved From SVG/Attribute/pointsAtZ to Web/SVG/Attribute/pointsAtZ

Revision Content

« SVG Attribute reference home

The pointsAtZ attribute represent the X location in the coordinate system established by attribute {{SVGAttr("primitiveUnits")}} on the {{SVGElement("filter")}} element of the point at which the light source is pointing, assuming that, in the initial coordinate system, the positive Z-axis comes out towards the person viewing the content and assuming that one unit along the Z-axis equals one unit in X and Y.

If the attribute is not specified, then the effect is as if a value of 0 were specified.

Usage context

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

Example

Elements

The following elements can use the pointsAtZ attribute

  • {{ SVGElement("feSpotLight") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>pointsAtZ</code> attribute represent the X location in the coordinate system established by attribute {{SVGAttr("primitiveUnits")}} on the {{SVGElement("filter")}} element of the point at which the light source is pointing, assuming that, in the initial coordinate system, the positive Z-axis comes out towards the person viewing the content and assuming that one unit along the Z-axis equals one unit in X and Y.</p>
<p>If the attribute is not specified, then the effect is as if a value of <strong>0</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 href="http://www.w3.org/TR/SVG11/filters.html#feSpotLightPointsAtZAttribute" rel="external" title="http://www.w3.org/TR/SVG11/filters.html#feSpotLightPointsAtZAttribute">SVG 1.1 (2nd Edition)</a></td>
    </tr>
  </tbody>
</table>
<h2 id="Example">Example</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>pointsAtZ</code> attribute</p>
<ul>
  <li>{{ SVGElement("feSpotLight") }}</li>
</ul>
Revert to this revision