FilterCompositeOperator Enum
How a CompositePrimitive combines its two inputs: the operator of feComposite of SVG.
public enum FilterCompositeOperatorRemarks
With A the first input and B the second one, colors multiplied by their alpha Aa and Ba.
Fields
| Name | Value | Description |
|---|---|---|
Over | 0 | A over B: A + B (1 - Aa). |
In | 1 | The part of A inside B: A Ba. |
Out | 2 | The part of A outside B: A (1 - Ba). |
Atop | 3 | A inside B, over B: A Ba + B (1 - Aa). |
Xor | 4 | What is in one input only: A (1 - Ba) + B (1 - Aa). |
Lighter | 5 | The sum of the inputs, up to 1: min(A + B, 1). |
Arithmetic | 6 | k1 A B + k2 A + k3 B + k4 for each component, clamped to the range from 0 to 1, and each color then limited to the alpha (CompositePrimitive.K1 to CompositePrimitive.K4). |