Home Menu

filter

The filter SVG element 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>

Internal

feBlend

feColorMatrix

feComponentTransfer

feComposite

feConvolveMatrix

feDiffuseLighting

feDisplacementMap

feDistantLight

feDropShadow

feFlood

feFuncA

feFuncB

feFuncG

feFuncR

feGaussianBlur

feImage

feMerge

feMergeMode

feMorphology

feOffset

fePointLight

feSpecularLighting

feSpotLight

feTile

feTurbulence

External

World Wide Web Consortium (W3C)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms