Class ColorMatrix

Class ColorMatrix

Nazwa przestrzeń: Aspose.Imaging Zgromadzenie: Aspose.Imaging.dll (25.4.0)

Definuje matrycę 5 x 5 zawierającą współrzędne dla przestrzeni RGBA. Niektóre metody Aspose.Imaging.ImageAttributes klasy dostosowywać kolory obrazu przy użyciu matrix kolorów.

public sealed class ColorMatrix

Inheritance

object ColorMatrix

Dziedziczeni członkowie

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

ColorMatrix()

Inicjalizuje nową instancję klasy Aspose.Imaging.ColorMatrix.

public ColorMatrix()

ColorMatrix(Floty[][])

Inicjalizuje nową instancję klasy Aspose.Imaging.ColorMatrix przy użyciu elementów w określonej matryce nowy kolorMatrx'.

public ColorMatrix(float[][] newColorMatrix)

Parameters

newColorMatrix float [ ]

Wartości elementów dla nowego Aspose.Imaging.ColorMatrix.

Fields

MatrixDimensionElementsCount

Liczba elementów w wymiarze matrycy.

public const int MatrixDimensionElementsCount = 5

Wartość pola

int

MatrixDimensionsCount

Ilość wymiarów matrycy.

public const int MatrixDimensionsCount = 5

Wartość pola

int

MatrixTotalElementsCount

Łączna liczba elementów w matryce.

public const int MatrixTotalElementsCount = 25

Wartość pola

int

Properties

Matrix00

Otrzymuje lub ustawia element w rzędzie 0 (zero) i kolumnie 0 tego Aspose.Imaging.ColorMatrix.

public float Matrix00 { get; set; }

Wartość nieruchomości

float

Matrix01

Otrzymuje lub ustawia element w rzędzie 0 (zero) i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix01 { get; set; }

Wartość nieruchomości

float

Matrix02

Otrzymuje lub ustawia element w kolejce 0 (zero) i drugim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix02 { get; set; }

Wartość nieruchomości

float

Matrix03

Otrzymuje lub ustawia element w kolejce 0 (zero) i kolumnie trzeciej tego Aspose.Imaging.ColorMatrix.

public float Matrix03 { get; set; }

Wartość nieruchomości

float

Matrix04

Otrzymuje lub ustawia element w rzędzie 0 (zero) i czwartym kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix04 { get; set; }

Wartość nieruchomości

float

Matrix10

Otrzymuje lub ustawia element w pierwszym rzędzie i kolumnie 0 (zero) tego Aspose.Imaging.ColorMatrix.

public float Matrix10 { get; set; }

Wartość nieruchomości

float

Matrix11

Uzyskać lub umieścić element w pierwszej kolejce i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix11 { get; set; }

Wartość nieruchomości

float

Matrix12

Zdobądź lub ustaw element w pierwszym rzędzie i drugim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix12 { get; set; }

Wartość nieruchomości

float

Matrix13

Zdobądź lub ustaw element w pierwszym rzędzie i trzecim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix13 { get; set; }

Wartość nieruchomości

float

Matrix14

Otrzymuje lub ustawia element w pierwszym rzędzie i czwartym kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix14 { get; set; }

Wartość nieruchomości

float

Matrix20

Otrzymuje lub ustawia element w drugim rzędzie i kolumnie 0 (zero) tego Aspose.Imaging.ColorMatrix.

public float Matrix20 { get; set; }

Wartość nieruchomości

float

Matrix21

Otrzymuje lub ustawia element w drugim rzędzie i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix21 { get; set; }

Wartość nieruchomości

float

Matrix22

Otrzymuje lub ustawia element w drugim rzędzie i drugim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix22 { get; set; }

Wartość nieruchomości

float

Matrix23

Otrzymuje lub ustawia element w drugim rzędzie i trzecim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix23 { get; set; }

Wartość nieruchomości

float

Matrix24

Otrzymuje lub ustawia element w drugim rzędzie i czwartym kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix24 { get; set; }

Wartość nieruchomości

float

Matrix30

Otrzymuje lub ustawia element w trzecim rzędzie i kolumnie 0 (zero) tego Aspose.Imaging.ColorMatrix.

public float Matrix30 { get; set; }

Wartość nieruchomości

float

Matrix31

Otrzymuje lub ustawia element w trzecim rzędzie i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix31 { get; set; }

Wartość nieruchomości

float

Matrix32

Otrzymuje lub ustawia element w trzecim rzędzie i drugim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix32 { get; set; }

Wartość nieruchomości

float

Matrix33

Otrzymuje lub ustawia element w trzecim rzędzie i kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix33 { get; set; }

Wartość nieruchomości

float

Matrix34

Otrzymuje lub ustawia element w trzecim rzędzie i czwartym kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix34 { get; set; }

Wartość nieruchomości

float

Matrix40

Otrzymuje lub ustawia element w czwartym rzędzie i kolumnie 0 (zero) tego Aspose.Imaging.ColorMatrix.

public float Matrix40 { get; set; }

Wartość nieruchomości

float

Matrix41

Otrzymuje lub ustawia element w czwartym rzędzie i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix41 { get; set; }

Wartość nieruchomości

float

Matrix42

Otrzymuje lub ustawia element w czwartym rzędzie i drugim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix42 { get; set; }

Wartość nieruchomości

float

Matrix43

Otrzymuje lub ustawia element w czwartym rzędzie i trzecim kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix43 { get; set; }

Wartość nieruchomości

float

Matrix44

Otrzymuje lub umieści element w czwartym rzędzie i czwartej kolumnie tego Aspose.Imaging.ColorMatrix.

public float Matrix44 { get; set; }

Wartość nieruchomości

float

Tego[i int, int]

Otrzymuje lub ustawia element w określonej kolejce i kolumnie w Aspose.Imaging.ColorMatrix.

public float this[int row, int column] { get; set; }

Wartość nieruchomości

float

Methods

GetMatrix()

Dostępne są wartości matryc.

public float[][] GetMatrix()

Returns

float [ ]

Wartości matrycowe są array.

 Polski