XML technologies / SVG / Filters, transformations and gradients / Using and combining filters and lighting effectively / Filters and masks / The feTile filter element

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

This element fills a defined rectangular area with the object to which the filter is applied. The object is tiled, acting as a fill pattern. Set the area’s size using the universal attributes width, height, x and y of the parent <filter> tag.

<filter id="Tile" width="500" height="500" x="0" y="0" filterUnits="userSpaceOnUse" primitiveUnits="userSpaceOnUse">
  <feTile />
</filter>

Note:
In Adobe SVG Viewer 2.0 in Internet Explorer 5 and Netscape Navigator 4.x on Windows 2000, the filter displays the message “Nicht genügend Speicher” if you forget to specify the attributes filterUnits and primitivUnits. Always define them; in this case, they should not be treated as optional attributes.

This filter is only useful in combination with other filter effects.

   

 

 

 

back to top