ColorMatrixPrimitive Class
A primitive that applies a color matrix to its input: feColorMatrix of SVG.
public sealed class ColorMatrixPrimitive : FilterPrimitiveRemarks
The matrix is applied as by ColorMatrixFilter, to the straight colors of each pixel. The types of feColorMatrix are ready-made matrices: saturate is ColorMatrix.CreateSaturation, hueRotate is ColorMatrix.CreateHueRotation, and luminanceToAlpha is ColorMatrix.LuminanceToAlpha.
- Inheritance
FilterPrimitiveColorMatrixPrimitive
Constructors
| Name | Description |
|---|---|
| ColorMatrixPrimitive(ColorMatrix) | Initializes a new instance of the ColorMatrixPrimitive class. |
ColorMatrixPrimitive(ColorMatrix)
ColorMatrixPrimitive.csInitializes a new instance of the ColorMatrixPrimitive class.
public ColorMatrixPrimitive(ColorMatrix matrix)Properties
| Name | Description |
|---|---|
| Input | Gets the input: in. |
| Matrix | Gets the matrix. |