Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeRasterColorMatrix

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
b87f83792369 with working tree changes
Modifiers
sealed

An immutable normalized-channel affine color transform with four output rows and five input columns.

Inheritance

  • object
  • OfficeRasterColorMatrix

Remarks

Each row multiplies normalized R, G, B, A and a constant one. Results are clamped to zero through one.

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public OfficeRasterColorMatrix(params double[] coefficients) #

Creates a matrix by copying exactly twenty finite row-major coefficients.

Parameters

coefficients double[] required

Methods

public double GetCoefficient(int row, int column) #

Gets one coefficient by output-channel row and input-channel/bias column.

Parameters

row int required
column int required

Returns

double

Properties

public static OfficeRasterColorMatrix Identity { get; } #

Gets the identity color transform.