W3cubDocs

/SVG

operator

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

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/operator