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
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
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
MatrixDimensionsCount
Ilość wymiarów matrycy.
public const int MatrixDimensionsCount = 5
Wartość pola
MatrixTotalElementsCount
Łączna liczba elementów w matryce.
public const int MatrixTotalElementsCount = 25
Wartość pola
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
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
Matrix02
Otrzymuje lub ustawia element w kolejce 0 (zero) i drugim kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix02 { get; set; }
Wartość nieruchomości
Matrix03
Otrzymuje lub ustawia element w kolejce 0 (zero) i kolumnie trzeciej tego Aspose.Imaging.ColorMatrix.
public float Matrix03 { get; set; }
Wartość nieruchomości
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
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
Matrix11
Uzyskać lub umieścić element w pierwszej kolejce i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix11 { get; set; }
Wartość nieruchomości
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
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
Matrix14
Otrzymuje lub ustawia element w pierwszym rzędzie i czwartym kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix14 { get; set; }
Wartość nieruchomości
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
Matrix21
Otrzymuje lub ustawia element w drugim rzędzie i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix21 { get; set; }
Wartość nieruchomości
Matrix22
Otrzymuje lub ustawia element w drugim rzędzie i drugim kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix22 { get; set; }
Wartość nieruchomości
Matrix23
Otrzymuje lub ustawia element w drugim rzędzie i trzecim kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix23 { get; set; }
Wartość nieruchomości
Matrix24
Otrzymuje lub ustawia element w drugim rzędzie i czwartym kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix24 { get; set; }
Wartość nieruchomości
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
Matrix31
Otrzymuje lub ustawia element w trzecim rzędzie i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix31 { get; set; }
Wartość nieruchomości
Matrix32
Otrzymuje lub ustawia element w trzecim rzędzie i drugim kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix32 { get; set; }
Wartość nieruchomości
Matrix33
Otrzymuje lub ustawia element w trzecim rzędzie i kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix33 { get; set; }
Wartość nieruchomości
Matrix34
Otrzymuje lub ustawia element w trzecim rzędzie i czwartym kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix34 { get; set; }
Wartość nieruchomości
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
Matrix41
Otrzymuje lub ustawia element w czwartym rzędzie i pierwszej kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix41 { get; set; }
Wartość nieruchomości
Matrix42
Otrzymuje lub ustawia element w czwartym rzędzie i drugim kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix42 { get; set; }
Wartość nieruchomości
Matrix43
Otrzymuje lub ustawia element w czwartym rzędzie i trzecim kolumnie tego Aspose.Imaging.ColorMatrix.
public float Matrix43 { get; set; }
Wartość nieruchomości
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
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
Methods
GetMatrix()
Dostępne są wartości matryc.
public float[][] GetMatrix()
Returns
float [ ]
Wartości matrycowe są array.