mozilla

Revision 323493 of baseFrequency

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

Revision Content

« SVG Attribute reference home

The baseFrequency attribute represent The base frequencies parameter for the noise function of the {{SVGElement("feTurbulence")}} primitive. If two <number>s are provided, the first number represents a base frequency in the X direction and the second value represents a base frequency in the Y direction. If one number is provided, then that value is used for both X and Y.

Negative values are forbidden.

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

Usage context

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

Example

Elements

The following elements can use the baseFrequency attribute

  • {{ SVGElement("feTurbulence") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>baseFrequency</code> attribute represent The base frequencies parameter for the noise function of the {{SVGElement("feTurbulence")}} primitive. If two <a href="/en/SVG/Content_type#Number" title="en/SVG/Content_type#Paint">&lt;number&gt;</a>s are provided, the first number represents a base frequency in the X direction and the second value represents a base frequency in the Y direction. If one number is provided, then that value is used for both X and Y.</p>
<p>Negative values are forbidden.</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-optional-number" title="en/SVG/Content_type#Number-optional-number">&lt;number-optional-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#feTurbulenceBaseFrequencyAttribute" rel="external" title="http://www.w3.org/TR/SVG11/filters.html#feTurbulenceBaseFrequencyAttribute">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>baseFrequency</code> attribute</p>
<ul>
  <li>{{ SVGElement("feTurbulence") }}</li>
</ul>
Revert to this revision