HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

filter

Description

The filter element for SVG specifies a filter effect.

Syntax

Attributes

filterUnits

Specifies the coordinate system for attributes x, y, width, and height.

Value
objectBoundingBox | userSpaceOnUse
Default
objectBoundingBox

height

Specifies the height of the element.

Value
<length-percentage>
Default
120%

primitiveUnits

Specifies the coordinate system for the various length values within the filter primitives and for the attributes that define the filter primitive subregion.

Value
objectBoundingBox | userSpaceOnUse
Default
userSpaceOnUse

width

Specifies the width of the element.

Value
<length-percentage>
Default
120%

x

Specifies the x-coordinate of the element.

Value
<length-percentage>
Default
-10%

y

Specifies the y-coordinate of the element.

Value
<length-percentage>
Default
-10%

Examples

filterUnits

objectBoundingBox

userSpaceOnUse

height

<length-percentage>

primitiveUnits

objectBoundingBox

userSpaceOnUse

width

<length-percentage>

x

<length-percentage>

y

<length-percentage>