ComponentTransferPrimitive Class

A primitive that gives each component of each pixel of its input a new value by a function: feComponentTransfer of SVG.

public sealed class ComponentTransferPrimitive : FilterPrimitive

Remarks

The functions are applied to the straight colors and to the alpha of each pixel (TransferFunction), and the colors are then multiplied by the new alpha.

Inheritance
FilterPrimitive ComponentTransferPrimitive

Constructors

NameDescription
ComponentTransferPrimitive()

ComponentTransferPrimitive()

ComponentTransferPrimitive.cs
public ComponentTransferPrimitive()

No documentation is available.

Properties

NameDescription
AlphaGets the function of the alpha: feFuncA. Defaults to TransferFunction.Identity.
BlueGets the function of the blue: feFuncB. Defaults to TransferFunction.Identity.
GreenGets the function of the green: feFuncG. Defaults to TransferFunction.Identity.
InputGets the input: in.
RedGets the function of the red: feFuncR. Defaults to TransferFunction.Identity.

Gets the function of the alpha: feFuncA. Defaults to TransferFunction.Identity.

public TransferFunction Alpha { get; init; }

Property value

TransferFunction

Exceptions

ArgumentNullException
The value is null.

Gets the function of the blue: feFuncB. Defaults to TransferFunction.Identity.

public TransferFunction Blue { get; init; }

Property value

TransferFunction

Exceptions

ArgumentNullException
The value is null.

Gets the function of the green: feFuncG. Defaults to TransferFunction.Identity.

public TransferFunction Green { get; init; }

Property value

TransferFunction

Exceptions

ArgumentNullException
The value is null.

Gets the input: in.

public FilterInput Input { get; init; }

Property value

FilterInput

Gets the function of the red: feFuncR. Defaults to TransferFunction.Identity.

public TransferFunction Red { get; init; }

Property value

TransferFunction

Exceptions

ArgumentNullException
The value is null.