CompositingOperator Enum

CompositingOperator enumeration

Specifies the type of compositing operation to be applied in SVG masking operations.

public enum CompositingOperator

Values

NameValueDescription
Add0Adds the color values of the source graphic to the destination graphic.
Subtract1Subtracts the color values of the source graphic from the destination graphic.
Intersect2Displays only the areas where both the source and destination graphics overlap.
Exclude3Excludes the overlapping areas of the source and destination graphics.

Remarks

Compositing operators in SVG masks determine how different graphic elements are combined to create a mask effect. Each operator defines a unique method of blending or combining these elements to achieve various masking effects.

See Also