Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeRasterColorMatrix

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
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

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

Returned or exposed by

Accepted by parameters

Constructors

public OfficeRasterColorMatrix(params Double[] coefficients) #

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

Parameters

coefficients System.Double[] requiredposition: 0

Methods

public Double GetCoefficient(Int32 row, Int32 column) #
Returns: Double

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

Parameters

row System.Int32 requiredposition: 0
column System.Int32 requiredposition: 1

Properties

public static OfficeRasterColorMatrix Identity { get; } #

Gets the identity color transform.