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–2017 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