ColorMatrix

Inheritance: java.lang.Object

public final class ColorMatrix

Defines a 5 x 5 matrix that contains the coordinates for the RGBA space. Several methods of the com.aspose.psd.ImageAttributes class adjust image colors by using a color matrix. This class cannot be inherited.

Constructors

ConstructorDescription
ColorMatrix()Initializes a new instance of the Aspose.Imaging.ColorMatrix class.
ColorMatrix(float[][] newColorMatrix)Initializes a new instance of the Aspose.Imaging.ColorMatrix class using the elements in the specified matrix newColorMatrix .

Fields

FieldDescription
MatrixDimensionElementsCountThe number of elements in matrix dimension.
MatrixDimensionsCountThe number of matrix dimensions.
MatrixTotalElementsCountThe total number of elements in the matrix.

Methods

MethodDescription
equals(Object arg0)
getClass()
getMatrix()Gets the matrix values.
getMatrix00()Gets the element at the 0 (zero) row and 0 column of this Aspose.Imaging.ColorMatrix .
getMatrix01()Gets the element at the 0 (zero) row and first column of this Aspose.Imaging.ColorMatrix .
getMatrix02()Gets the element at the 0 (zero) row and second column of this Aspose.Imaging.ColorMatrix .
getMatrix03()Gets the element at the 0 (zero) row and third column of this Aspose.Imaging.ColorMatrix .
getMatrix04()Gets the element at the 0 (zero) row and fourth column of this Aspose.Imaging.ColorMatrix .
getMatrix10()Gets the element at the first row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
getMatrix11()Gets the element at the first row and first column of this Aspose.Imaging.ColorMatrix .
getMatrix12()Gets the element at the first row and second column of this Aspose.Imaging.ColorMatrix .
getMatrix13()Gets the element at the first row and third column of this Aspose.Imaging.ColorMatrix .
getMatrix14()Gets the element at the first row and fourth column of this Aspose.Imaging.ColorMatrix .
getMatrix20()Gets the element at the second row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
getMatrix21()Gets the element at the second row and first column of this Aspose.Imaging.ColorMatrix .
getMatrix22()Gets the element at the second row and second column of this Aspose.Imaging.ColorMatrix .
getMatrix23()Gets the element at the second row and third column of this Aspose.Imaging.ColorMatrix .
getMatrix24()Gets the element at the second row and fourth column of this Aspose.Imaging.ColorMatrix .
getMatrix30()Gets the element at the third row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
getMatrix31()Gets the element at the third row and first column of this Aspose.Imaging.ColorMatrix .
getMatrix32()Gets the element at the third row and second column of this Aspose.Imaging.ColorMatrix .
getMatrix33()Gets the element at the third row and third column of this Aspose.Imaging.ColorMatrix .
getMatrix34()Gets the element at the third row and fourth column of this Aspose.Imaging.ColorMatrix .
getMatrix40()Gets the element at the fourth row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
getMatrix41()Gets the element at the fourth row and first column of this Aspose.Imaging.ColorMatrix .
getMatrix42()Gets the element at the fourth row and second column of this Aspose.Imaging.ColorMatrix .
getMatrix43()Gets the element at the fourth row and third column of this Aspose.Imaging.ColorMatrix .
getMatrix44()Gets the element at the fourth row and fourth column of this Aspose.Imaging.ColorMatrix .
get_Item(int row, int column)Gets the element at the specified row and column in the Aspose.Imaging.ColorMatrix .
hashCode()
notify()
notifyAll()
setMatrix00(float value)Sets the element at the 0 (zero) row and 0 column of this Aspose.Imaging.ColorMatrix .
setMatrix01(float value)Sets the element at the 0 (zero) row and first column of this Aspose.Imaging.ColorMatrix .
setMatrix02(float value)Sets the element at the 0 (zero) row and second column of this Aspose.Imaging.ColorMatrix .
setMatrix03(float value)Sets the element at the 0 (zero) row and third column of this Aspose.Imaging.ColorMatrix .
setMatrix04(float value)Sets the element at the 0 (zero) row and fourth column of this Aspose.Imaging.ColorMatrix .
setMatrix10(float value)Sets the element at the first row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
setMatrix11(float value)Sets the element at the first row and first column of this Aspose.Imaging.ColorMatrix .
setMatrix12(float value)Sets the element at the first row and second column of this Aspose.Imaging.ColorMatrix .
setMatrix13(float value)Sets the element at the first row and third column of this Aspose.Imaging.ColorMatrix .
setMatrix14(float value)Sets the element at the first row and fourth column of this Aspose.Imaging.ColorMatrix .
setMatrix20(float value)Sets the element at the second row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
setMatrix21(float value)Sets the element at the second row and first column of this Aspose.Imaging.ColorMatrix .
setMatrix22(float value)Sets the element at the second row and second column of this Aspose.Imaging.ColorMatrix .
setMatrix23(float value)Sets the element at the second row and third column of this Aspose.Imaging.ColorMatrix .
setMatrix24(float value)Sets the element at the second row and fourth column of this Aspose.Imaging.ColorMatrix .
setMatrix30(float value)Sets the element at the third row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
setMatrix31(float value)Sets the element at the third row and first column of this Aspose.Imaging.ColorMatrix .
setMatrix32(float value)Sets the element at the third row and second column of this Aspose.Imaging.ColorMatrix .
setMatrix33(float value)Sets the element at the third row and third column of this Aspose.Imaging.ColorMatrix .
setMatrix34(float value)Sets the element at the third row and fourth column of this Aspose.Imaging.ColorMatrix .
setMatrix40(float value)Sets the element at the fourth row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .
setMatrix41(float value)Sets the element at the fourth row and first column of this Aspose.Imaging.ColorMatrix .
setMatrix42(float value)Sets the element at the fourth row and second column of this Aspose.Imaging.ColorMatrix .
setMatrix43(float value)Sets the element at the fourth row and third column of this Aspose.Imaging.ColorMatrix .
setMatrix44(float value)Sets the element at the fourth row and fourth column of this Aspose.Imaging.ColorMatrix .
set_Item(int row, int column, float value)Sets the element at the specified row and column in the Aspose.Imaging.ColorMatrix .
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ColorMatrix()

public ColorMatrix()

Initializes a new instance of the Aspose.Imaging.ColorMatrix class.

ColorMatrix(float[][] newColorMatrix)

public ColorMatrix(float[][] newColorMatrix)

Initializes a new instance of the Aspose.Imaging.ColorMatrix class using the elements in the specified matrix newColorMatrix .

Parameters:

ParameterTypeDescription
newColorMatrixfloat[][]The values of the elements for the new Aspose.Imaging.ColorMatrix .

MatrixDimensionElementsCount

public static final int MatrixDimensionElementsCount

The number of elements in matrix dimension.

MatrixDimensionsCount

public static final int MatrixDimensionsCount

The number of matrix dimensions.

MatrixTotalElementsCount

public static final int MatrixTotalElementsCount

The total number of elements in the matrix.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getMatrix()

public float[][] getMatrix()

Gets the matrix values.

Returns: float[][] - The matrix values array.

getMatrix00()

public float getMatrix00()

Gets the element at the 0 (zero) row and 0 column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the 0 row and 0 column of this Aspose.Imaging.ColorMatrix .

getMatrix01()

public float getMatrix01()

Gets the element at the 0 (zero) row and first column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the 0 row and first column of this Aspose.Imaging.ColorMatrix .

getMatrix02()

public float getMatrix02()

Gets the element at the 0 (zero) row and second column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the 0 row and second column of this Aspose.Imaging.ColorMatrix .

getMatrix03()

public float getMatrix03()

Gets the element at the 0 (zero) row and third column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the 0 row and third column of this Aspose.Imaging.ColorMatrix .

getMatrix04()

public float getMatrix04()

Gets the element at the 0 (zero) row and fourth column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the 0 row and fourth column of this Aspose.Imaging.ColorMatrix .

getMatrix10()

public float getMatrix10()

Gets the element at the first row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the first row and 0 column of this Aspose.Imaging.ColorMatrix .

getMatrix11()

public float getMatrix11()

Gets the element at the first row and first column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the first row and first column of this Aspose.Imaging.ColorMatrix .

getMatrix12()

public float getMatrix12()

Gets the element at the first row and second column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the first row and second column of this Aspose.Imaging.ColorMatrix .

getMatrix13()

public float getMatrix13()

Gets the element at the first row and third column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the first row and third column of this Aspose.Imaging.ColorMatrix .

getMatrix14()

public float getMatrix14()

Gets the element at the first row and fourth column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the first row and fourth column of this Aspose.Imaging.ColorMatrix .

getMatrix20()

public float getMatrix20()

Gets the element at the second row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the second row and 0 column of this Aspose.Imaging.ColorMatrix .

getMatrix21()

public float getMatrix21()

Gets the element at the second row and first column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the second row and first column of this Aspose.Imaging.ColorMatrix .

getMatrix22()

public float getMatrix22()

Gets the element at the second row and second column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the second row and second column of this Aspose.Imaging.ColorMatrix .

getMatrix23()

public float getMatrix23()

Gets the element at the second row and third column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the second row and third column of this Aspose.Imaging.ColorMatrix .

getMatrix24()

public float getMatrix24()

Gets the element at the second row and fourth column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the second row and fourth column of this Aspose.Imaging.ColorMatrix .

getMatrix30()

public float getMatrix30()

Gets the element at the third row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the third row and 0 column of this Aspose.Imaging.ColorMatrix .

getMatrix31()

public float getMatrix31()

Gets the element at the third row and first column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the third row and first column of this Aspose.Imaging.ColorMatrix .

getMatrix32()

public float getMatrix32()

Gets the element at the third row and second column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the third row and second column of this Aspose.Imaging.ColorMatrix .

getMatrix33()

public float getMatrix33()

Gets the element at the third row and third column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the third row and third column of this Aspose.Imaging.ColorMatrix .

getMatrix34()

public float getMatrix34()

Gets the element at the third row and fourth column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the third row and fourth column of this Aspose.Imaging.ColorMatrix .

getMatrix40()

public float getMatrix40()

Gets the element at the fourth row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the fourth row and 0 column of this Aspose.Imaging.ColorMatrix .

getMatrix41()

public float getMatrix41()

Gets the element at the fourth row and first column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the fourth row and first column of this Aspose.Imaging.ColorMatrix .

getMatrix42()

public float getMatrix42()

Gets the element at the fourth row and second column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the fourth row and second column of this Aspose.Imaging.ColorMatrix .

getMatrix43()

public float getMatrix43()

Gets the element at the fourth row and third column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the fourth row and third column of this Aspose.Imaging.ColorMatrix .

getMatrix44()

public float getMatrix44()

Gets the element at the fourth row and fourth column of this Aspose.Imaging.ColorMatrix .

Returns: float - The element at the fourth row and fourth column of this Aspose.Imaging.ColorMatrix .

get_Item(int row, int column)

public float get_Item(int row, int column)

Gets the element at the specified row and column in the Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
rowintThe row number.
columnintThe column number.

Returns: float - The element at the specified row and column.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setMatrix00(float value)

public void setMatrix00(float value)

Sets the element at the 0 (zero) row and 0 column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the 0 row and 0 column of this Aspose.Imaging.ColorMatrix .

setMatrix01(float value)

public void setMatrix01(float value)

Sets the element at the 0 (zero) row and first column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the 0 row and first column of this Aspose.Imaging.ColorMatrix .

setMatrix02(float value)

public void setMatrix02(float value)

Sets the element at the 0 (zero) row and second column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the 0 row and second column of this Aspose.Imaging.ColorMatrix .

setMatrix03(float value)

public void setMatrix03(float value)

Sets the element at the 0 (zero) row and third column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the 0 row and third column of this Aspose.Imaging.ColorMatrix .

setMatrix04(float value)

public void setMatrix04(float value)

Sets the element at the 0 (zero) row and fourth column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the 0 row and fourth column of this Aspose.Imaging.ColorMatrix .

setMatrix10(float value)

public void setMatrix10(float value)

Sets the element at the first row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the first row and 0 column of this Aspose.Imaging.ColorMatrix .

setMatrix11(float value)

public void setMatrix11(float value)

Sets the element at the first row and first column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the first row and first column of this Aspose.Imaging.ColorMatrix .

setMatrix12(float value)

public void setMatrix12(float value)

Sets the element at the first row and second column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the first row and second column of this Aspose.Imaging.ColorMatrix .

setMatrix13(float value)

public void setMatrix13(float value)

Sets the element at the first row and third column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the first row and third column of this Aspose.Imaging.ColorMatrix .

setMatrix14(float value)

public void setMatrix14(float value)

Sets the element at the first row and fourth column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the first row and fourth column of this Aspose.Imaging.ColorMatrix .

setMatrix20(float value)

public void setMatrix20(float value)

Sets the element at the second row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the second row and 0 column of this Aspose.Imaging.ColorMatrix .

setMatrix21(float value)

public void setMatrix21(float value)

Sets the element at the second row and first column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the second row and first column of this Aspose.Imaging.ColorMatrix .

setMatrix22(float value)

public void setMatrix22(float value)

Sets the element at the second row and second column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the second row and second column of this Aspose.Imaging.ColorMatrix .

setMatrix23(float value)

public void setMatrix23(float value)

Sets the element at the second row and third column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the second row and third column of this Aspose.Imaging.ColorMatrix .

setMatrix24(float value)

public void setMatrix24(float value)

Sets the element at the second row and fourth column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the second row and fourth column of this Aspose.Imaging.ColorMatrix .

setMatrix30(float value)

public void setMatrix30(float value)

Sets the element at the third row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the third row and 0 column of this Aspose.Imaging.ColorMatrix .

setMatrix31(float value)

public void setMatrix31(float value)

Sets the element at the third row and first column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the third row and first column of this Aspose.Imaging.ColorMatrix .

setMatrix32(float value)

public void setMatrix32(float value)

Sets the element at the third row and second column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the third row and second column of this Aspose.Imaging.ColorMatrix .

setMatrix33(float value)

public void setMatrix33(float value)

Sets the element at the third row and third column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the third row and third column of this Aspose.Imaging.ColorMatrix .

setMatrix34(float value)

public void setMatrix34(float value)

Sets the element at the third row and fourth column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the third row and fourth column of this Aspose.Imaging.ColorMatrix .

setMatrix40(float value)

public void setMatrix40(float value)

Sets the element at the fourth row and 0 (zero) column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the fourth row and 0 column of this Aspose.Imaging.ColorMatrix .

setMatrix41(float value)

public void setMatrix41(float value)

Sets the element at the fourth row and first column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the fourth row and first column of this Aspose.Imaging.ColorMatrix .

setMatrix42(float value)

public void setMatrix42(float value)

Sets the element at the fourth row and second column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the fourth row and second column of this Aspose.Imaging.ColorMatrix .

setMatrix43(float value)

public void setMatrix43(float value)

Sets the element at the fourth row and third column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the fourth row and third column of this Aspose.Imaging.ColorMatrix .

setMatrix44(float value)

public void setMatrix44(float value)

Sets the element at the fourth row and fourth column of this Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
valuefloatThe element at the fourth row and fourth column of this Aspose.Imaging.ColorMatrix .

set_Item(int row, int column, float value)

public void set_Item(int row, int column, float value)

Sets the element at the specified row and column in the Aspose.Imaging.ColorMatrix .

Parameters:

ParameterTypeDescription
rowintThe row number.
columnintThe column number.
valuefloatThe value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int