« SVG Attribute reference home
The operator attribute as two meaning based on the context it's used.
- For the
<fecomposite>element, it defines the compositing operation that is to be performed. - For the
<femorphology>element, it defines whether to erode (i.e., thin) or dilate (fatten) the source graphic.
Usage context
For the <fecomposite> element
| Categories | None |
|---|---|
| Value | over | in | out | atop | xor | arithmetic |
| Animatable | Yes |
| Normative document | SVG 1.1 (2nd Edition) |
For the <femorphology> element
| Categories | None |
|---|---|
| Value | erode | dilate |
| Animatable | Yes |
| Normative document | SVG 1.1 (2nd Edition) |
Example
Elements
The following elements can use the operator attribute