This is a draft cheat sheet. It is a work in progress and is not finished yet.
The <filter> element attributes
|
|
|
"userSpaceOnUse" "objectBoundingBox"
|
|
"userSpaceOnUse" "objectBoundingBox"
|
|
|
|
|
|
" iri" inherit any attributes of <filter>
element iri that are not defined in this element |
color-interpolation-filters = "sRGB"
|
Common filter primitive attributes
|
"filter-primitive-reference"
|
|
"SourceGraphic" default for first filter primitive |
|
|
|
"BackgroundImage
| BackgroundAlpha" filtered object must be within a container element specifying enable-background="new"
|
|
"FillPaint
| StrokePaint"
|
|
"filter-primitive-reference" specfied by a previous result
|
|
default input for non-first filter primitives is the output from the previous filter primitive |
Simpler filter primitives
|
|
"blur spread
| 0" larger is blurrier |
|
|
|
|
"align
[ meet
| slice
] none
| xMidYMid meet"
|
|
|
|
|
"x-radius y-radius" "radius
| 0"
|
Utility filters
|
|
|
|
"x offset"
| "y offset"
| "0"
|
|
|
|
|
|
|
|
Lighting effects
containers for light source elements |
|
|
|
|
|
|
"factor
| 1" must be nonnegative |
|
|
"factor
| 1" must be nonnegative |
|
|
light source elements |
|
|
|
|
|
|
|
|
|
pointsAtX = pointsAtY = pointsAtZ =
|
|
|
|
|
|
Combining filter primitives
|
container for stacking <feMergeNode>
elements |
|
|
|
|
|
|
|
"normal
| multiply screen
| darken
| lighten"
|
|
|
|
|
"over
| in
| out
| atop xor
| arithmetic"
|
attributes used with "arithmetic"
|
|
"factor for in1 × in2
| 0"
|
|
|
|
|
|
|
|
|
"displacement factor
| 0"
|
|
|
|
|
|
|
|
|
More filter primitives
|
|
"matrix | saturate
| hueRotate | luminanceToAlpha"
|
|
"matrix values" "saturation value" 0
- 1 "rotate degrees"
|
<feComponentTransfer>
container for <feFuncR>
, <feFuncG>
, <feFuncB>
, and <feFuncA>
elements. |
|
|
"identity
| table | discrete
| linear
| gamma"
|
|
"intervals for table; steps for discrete"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"turbulence" | "fractalNoise"
|
|
"x-frequency y-frequency"
|
|
|
|
|
|
|
|