MergePrimitive Class

A primitive that draws its inputs over each other, the first at the bottom: feMerge of SVG.

public sealed class MergePrimitive : FilterPrimitive

Remarks

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
FilterPrimitive MergePrimitive

Constructors

NameDescription
MergePrimitive(ReadOnlySpan<FilterInput>)Initializes a new instance of the MergePrimitive class.

MergePrimitive(ReadOnlySpan<FilterInput>)

MergePrimitive.cs

Initializes a new instance of the MergePrimitive class.

public MergePrimitive(params scoped ReadOnlySpan<FilterInput> inputs)

Parameters

inputs ReadOnlySpan<FilterInput>
The inputs, from the bottom to the top: the feMergeNode elements. They are copied.

Properties

NameDescription
InputsGets the inputs, from the bottom to the top.

Gets the inputs, from the bottom to the top.

public IReadOnlyList<FilterInput> Inputs { get; }