blue bar

Home  |  Resources SiteMap  

blue bar
    Painting & Effects > Filter Effect > Filter Attributes

Print Version       Previous       Next       

Filter Effect - Filter Attributes

Common Filter Attributes

The following attributes are available for most of the filter primitives:

Attribute

Value

Meaning

x, y

Coordinate

The minimum x-coordinate & y-coordinate for the subregion which restricts calculation and rendering of the given filter primitive.

width, height

Unit of length

The width & height of the subregion which restricts calculation and rendering of the given filter primitive.

result

Filter primitive ID

Assigned name for this filter primitive.

If supplied, the graphics that result from processing this filter primitive can be referenced by an "in" attribute on a subsequent filter primitive within the same <filter> element.

If no value is provided, the output will only be available for re-use as the implicit input into the next filter primitive if that filter primitive provides no value for its "in" attribute.

in

SourceGraphic| SourceAlpha| BackgroundImage| BackgroundAlpha| FillPaint| StrokePaint

Identifies input for the given filter primitive.

The value can be either one of six keywords or can be a string which matches a previous result attribute value within the same <filter> element.

 Previous       Next       

   
 

About the Tutorial

 

SVG Overview

 

SVG Basics

 

Basic Drawing

 

Painting & Effects

 

Painting

 

Filter Effect

    Filter Primitives
   

Filter Attributes

    Image Examples
    Text Example
  Transformation
  Quiz
 

Dynamic SVG