ComponentTransferType enumeration

ComponentTransferType enumeration

Specifies the type of component transfer function to be applied in the FeComponentTransfer filter primitive of an SVG.

The ComponentTransferType type exposes the following members:

Fields

FieldDescription
IDENTITYRepresents no change in the input graphic. This is the default type.
TABLEUses a lookup table to define the function within the filter.
DISCRETEUses a set of discrete values to define the function in the filter.
LINEARDefines a linear transformation of the component within the filter.
GAMMADefines a gamma correction transformation in the filter.

Remarks

The FeComponentTransfer filter primitive allows for individual manipulation of color components (RGB and alpha) of graphics elements using different types of transfer functions. Each type defines a distinct method of computation for color component transformation within the filter.

See Also