Enum CompositeOperator
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)
Specifies the type of compositing operation to be applied in SVG compositing operations.
[ComVisible(true)]
public enum CompositeOperator
Fields
Arithmetic = 5
Allows for a custom arithmetic compositing operation.
The ‘arithmetic’ operator enables custom compositing effects using arithmetic expressions. This provides more control over how the source and destination graphics are combined.
Atop = 3
Displays the source graphic atop the destination graphic.
The ‘atop’ operator displays the source graphic on top of the destination, but only in the areas where the destination exists.
In = 1
Displays the source graphic where it overlaps the destination graphic.
The ‘in’ operator shows the source only where it overlaps the destination. The non-overlapping parts of the source are made transparent.
Out = 2
Displays the source graphic where it does not overlap the destination.
The ‘out’ operator shows the source graphic only where it does not overlap the destination. The overlapping parts of the source are made transparent.
Over = 0
Places the source graphic over the destination graphic.
The ‘over’ operator draws the source on top of the destination. It is the default compositing operation and is used when no other operator is specified.
Xor = 4
Displays the source graphic where it does not overlap the destination and vice versa.
The ‘xor’ operator shows the source graphic where it does not overlap the destination and the destination where it does not overlap the source.
Remarks
Compositing operations in SVG determine how two graphic elements are combined into a single image. Each operator defines a distinct method of blending or combining these elements.