MergePrimitive Class
A primitive that draws its inputs over each other, the first at the bottom: feMerge of SVG.
public sealed class MergePrimitive : FilterPrimitiveRemarks
Each input is drawn over the result of those before it with the operator over: r = i + r (1 - ai), on colors multiplied by their alpha.
- Inheritance
FilterPrimitiveMergePrimitive
Constructors
| Name | Description |
|---|---|
| MergePrimitive(ReadOnlySpan<FilterInput>) | Initializes a new instance of the MergePrimitive class. |
MergePrimitive(ReadOnlySpan<FilterInput>)
MergePrimitive.csInitializes a new instance of the MergePrimitive class.
public MergePrimitive(params scoped ReadOnlySpan<FilterInput> inputs)Parameters
inputsReadOnlySpan<FilterInput>- The inputs, from the bottom to the top: the
feMergeNodeelements. They are copied.
Properties
| Name | Description |
|---|---|
| Inputs | Gets the inputs, from the bottom to the top. |
Inputs
MergePrimitive.csGets the inputs, from the bottom to the top.
public IReadOnlyList<FilterInput> Inputs { get; }