System::Drawing::Imaging::ColorMatrix class

ColorMatrix class

Represents a 5x5 matrix that contains the coordinates for the RGBAW color space. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class ColorMatrix : public System::Object

Methods

MethodDescription
ColorMatrix()Constructs a new instance of ColorMatrix class and initializes it with the values of identity matrix.
ColorMatrix(const System::ArrayPtr<System::ArrayPtr<float>>&)Constructs a new instance of ColorMatrix class and initializes it with the specified values.
get_Matrix00() constReturns a value in 0-th row and 0-th column.
get_Matrix01() constReturns a value in 0-th row and 1-st column.
get_Matrix02() constReturns a value in 0-th row and 2-nd column.
get_Matrix03() constReturns a value in 0-th row and 3-rd column.
get_Matrix04() constReturns a value in 0-th row and 4-th column.
get_Matrix10() constReturns a value in 1-st row and 0-th column.
get_Matrix11() constReturns a value in 1-st row and 1-st column.
get_Matrix12() constReturns a value in 1-st row and 2-nd column.
get_Matrix13() constReturns a value in 1-st row and 3-rd column.
get_Matrix14() constReturns a value in 1-st row and 4-th column.
get_Matrix20() constReturns a value in 2-nd row and 0-th column.
get_Matrix21() constReturns a value in 2-nd row and 1-st column.
get_Matrix22() constReturns a value in 2-nd row and 2-nd column.
get_Matrix23() constReturns a value in 2-nd row and 3-rd column.
get_Matrix24() constReturns a value in 2-nd row and 4-th column.
get_Matrix30() constReturns a value in 3-rd row and 0-th column.
get_Matrix31() constReturns a value in 3-rd row and 1-st column.
get_Matrix32() constReturns a value in 3-rd row and 2-nd column.
get_Matrix33() constReturns a value in 3-rd row and 3-rd column.
get_Matrix34() constReturns a value in 3-rd row and 4-th column.
get_Matrix40() constReturns a value in 4-th row and 0-th column.
get_Matrix41() constReturns a value in 4-th row and 1-st column.
get_Matrix42() constReturns a value in 4-th row and 2-nd column.
get_Matrix43() constReturns a value in 4-th row and 3-rd column.
get_Matrix44() constReturns a value in 4-th row and 4-th column.
idx_get(int, int)Returns a value at the specified row and column.
idx_set(int, int, float)Sets the specifie value at the specified location in the matrix.
set_Matrix00(float)Sets a value in the 0-th row and 0-th column.
set_Matrix01(float)Sets a value in the 0-th row and 1-st column.
set_Matrix02(float)Sets a value in the 0-th row and 2-nd column.
set_Matrix03(float)Sets a value in the 0-th row and 3-rd column.
set_Matrix04(float)Sets a value in the 0-th row and 4-th column.
set_Matrix10(float)Sets a value in the 1-st row and 0-th column.
set_Matrix11(float)Sets a value in the 1-st row and 1-st column.
set_Matrix12(float)Sets a value in the 1-st row and 2-nd column.
set_Matrix13(float)Sets a value in the 1-st row and 3-rd column.
set_Matrix14(float)Sets a value in the 1-st row and 4-th column.
set_Matrix20(float)Sets a value in the 2-nd row and 0-th column.
set_Matrix21(float)Sets a value in the 2-nd row and 1-st column.
set_Matrix22(float)Sets a value in the 2-nd row and 2-nd column.
set_Matrix23(float)Sets a value in the 2-nd row and 3-rd column.
set_Matrix24(float)Sets a value in the 2-nd row and 4-th column.
set_Matrix30(float)Sets a value in the 3-rd row and 0-th column.
set_Matrix31(float)Sets a value in the 3-rd row and 1-st column.
set_Matrix32(float)Sets a value in the 3-rd row and 2-nd column.
set_Matrix33(float)Sets a value in the 3-rd row and 3-rd column.
set_Matrix34(float)Sets a value in the 3-rd row and 4-th column.
set_Matrix40(float)Sets a value in the 4-th row and 0-th column.
set_Matrix41(float)Sets a value in the 4-th row and 1-st column.
set_Matrix42(float)Sets a value in the 4-th row and 2-nd column.
set_Matrix43(float)Sets a value in the 4-th row and 3-rd column.
set_Matrix44(float)Sets a value in the 4-th row and 4-th column.

See Also