SceneCompositePrimitive Class
A primitive that combines two inputs with an operator of Porter and Duff, their sum, or an arithmetic of their components: feComposite of SVG.
public sealed class SceneCompositePrimitive : SceneFilterPrimitiveRemarks
The operators combine the colors multiplied by their alpha. The first input is A (in), the second one B (in2).
- Inheritance
SceneFilterPrimitiveSceneCompositePrimitive
Constructors
| Name | Description |
|---|---|
| SceneCompositePrimitive(SceneCompositeOperator, SceneFilterInput) | Initializes a new instance of the SceneCompositePrimitive class. |
SceneCompositePrimitive(SceneCompositeOperator, SceneFilterInput)
SceneCompositePrimitive.csInitializes a new instance of the SceneCompositePrimitive class.
public SceneCompositePrimitive(SceneCompositeOperator @operator, SceneFilterInput input2)Parameters
operatorSceneCompositeOperator- The operator.
input2SceneFilterInput- The second input:
in2.
Exceptions
ArgumentOutOfRangeExceptionoperatoris not a definedSceneCompositeOperator.
Properties
| Name | Description |
|---|---|
| Input | Gets the first input: in. |
| Input2 | Gets the second input: in2. |
| K1 | Gets the factor of the product of the inputs, for SceneCompositeOperator.Arithmetic: k1. |
| K2 | Gets the factor of the first input, for SceneCompositeOperator.Arithmetic: k2. |
| K3 | Gets the factor of the second input, for SceneCompositeOperator.Arithmetic: k3. |
| K4 | Gets the constant, for SceneCompositeOperator.Arithmetic: k4. |
| Operator | Gets the operator. |
Gets the factor of the product of the inputs, for SceneCompositeOperator.Arithmetic: k1.
public double K1 { get; init; }Gets the factor of the first input, for SceneCompositeOperator.Arithmetic: k2.
public double K2 { get; init; }Gets the factor of the second input, for SceneCompositeOperator.Arithmetic: k3.
public double K3 { get; init; }Gets the constant, for SceneCompositeOperator.Arithmetic: k4.
public double K4 { get; init; }