Search Results for

    Show / Hide Table of Contents

    Class ColorMatrixTransform

    Transforms an image according to coefficients in a System.Numerics.Matrix4x4.

    Inheritance
    System.Object
    PixelTransformInternalBase
    ColorMatrixTransform
    Implements
    IPixelTransform
    IPixelSource
    Inherited Members
    PixelTransformInternalBase.CopyPixels(Rectangle, Int32, Span<Byte>)
    PixelTransformInternalBase.IPixelTransform.Init(IPixelSource)
    PixelTransformInternalBase.Format
    PixelTransformInternalBase.Width
    PixelTransformInternalBase.Height
    Namespace: PhotoSauce.MagicScaler.Transforms
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public sealed class ColorMatrixTransform : PixelTransformInternalBase, IPixelTransform, IPixelSource

    Constructors

    ColorMatrixTransform(Matrix4x4)

    Constructs a new ColorMatrixTransform using the specified matrix.

    Declaration
    public ColorMatrixTransform(Matrix4x4 matrix)
    Parameters
    Type Name Description
    System.Numerics.Matrix4x4 matrix

    A 4x4 matrix of coefficients. The channel order is RGBA, column-major.

    Implements

    IPixelTransform
    IPixelSource
    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX