Class ColorMatrix
اسم الفضاء : Aspose.Imaging تجميع: Aspose.Imaging.dll (25.4.0)
يحدد 5 × 5 المصفوفة التي تحتوي على إحداثيات الفضاء RGBA.العديد من الأساليب من Aspose.Imaging.ImageAttributes الفئة تعديل ألوان الصورة باستخدام المصفوفة الألوان.
public sealed class ColorMatrix
Inheritance
الأعضاء الموروثين
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ColorMatrix()
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.ColorMatrix.
public ColorMatrix()
ColorMatrix(السفينة[][])
يبدأ مثال جديد من فئة Aspose.Imaging.ColorMatrix باستخدام العناصر الموجودة في المصفوفة newColorMatrix'.
public ColorMatrix(float[][] newColorMatrix)
Parameters
newColorMatrix
float
[ ]
قيمة العناصر الجديدة Aspose.Imaging.ColorMatrix.
Fields
MatrixDimensionElementsCount
عدد العناصر في حجم المصفوفة.
public const int MatrixDimensionElementsCount = 5
القيمة الميدانية
MatrixDimensionsCount
عدد الأبعاد المصفوفة.
public const int MatrixDimensionsCount = 5
القيمة الميدانية
MatrixTotalElementsCount
إجمالي عدد العناصر في المصفوفة.
public const int MatrixTotalElementsCount = 25
القيمة الميدانية
Properties
Matrix00
يحصل أو يضع العنصر في صف 0 (صفر) و 0 عمود من هذا Aspose.Imaging.ColorMatrix.
public float Matrix00 { get; set; }
قيمة الممتلكات
Matrix01
يحصل أو يضع العنصر في صف 0 (صفر) والعمود الأول من هذا Aspose.Imaging.ColorMatrix.
public float Matrix01 { get; set; }
قيمة الممتلكات
Matrix02
يحصل أو يضع العنصر في صف 0 (صفر) والعمود الثاني من هذا Aspose.Imaging.ColorMatrix.
public float Matrix02 { get; set; }
قيمة الممتلكات
Matrix03
يحصل أو يضع العنصر في صف 0 (صفر) والثالثة من هذا Aspose.Imaging.ColorMatrix.
public float Matrix03 { get; set; }
قيمة الممتلكات
Matrix04
يحصل أو يضع العنصر في صف 0 (صفر) والعمود الرابع من هذا Aspose.Imaging.ColorMatrix.
public float Matrix04 { get; set; }
قيمة الممتلكات
Matrix10
يحصل أو يضع العنصر في الصف الأول والعمود 0 (صفر) من هذا Aspose.Imaging.ColorMatrix.
public float Matrix10 { get; set; }
قيمة الممتلكات
Matrix11
يحصل أو يضع العنصر في الصف الأول والعمود الأول من هذا Aspose.Imaging.ColorMatrix.
public float Matrix11 { get; set; }
قيمة الممتلكات
Matrix12
يحصل أو يضع العنصر في السلسلة الأولى والثانية من هذا Aspose.Imaging.ColorMatrix.
public float Matrix12 { get; set; }
قيمة الممتلكات
Matrix13
يحصل أو يضع العنصر في الصف الأول والثالث من هذا Aspose.Imaging.ColorMatrix.
public float Matrix13 { get; set; }
قيمة الممتلكات
Matrix14
يحصل أو يضع العنصر في الصف الأول والصف الرابع من هذا Aspose.Imaging.ColorMatrix.
public float Matrix14 { get; set; }
قيمة الممتلكات
Matrix20
يحصل أو يضع العنصر في الصف الثاني والعمود 0 (صفر) من هذا Aspose.Imaging.ColorMatrix.
public float Matrix20 { get; set; }
قيمة الممتلكات
Matrix21
يحصل أو يضع العنصر في الصف الثاني والعمود الأول من هذا Aspose.Imaging.ColorMatrix.
public float Matrix21 { get; set; }
قيمة الممتلكات
Matrix22
يحصل أو يضع العنصر في السلسلة الثانية والثانية من هذا Aspose.Imaging.ColorMatrix.
public float Matrix22 { get; set; }
قيمة الممتلكات
Matrix23
يحصل أو يضع العنصر في الصف الثاني والثالث من هذا Aspose.Imaging.ColorMatrix.
public float Matrix23 { get; set; }
قيمة الممتلكات
Matrix24
يحصل أو يضع العنصر في الصف الثاني والصف الرابع من هذا Aspose.Imaging.ColorMatrix.
public float Matrix24 { get; set; }
قيمة الممتلكات
Matrix30
يحصل أو يضع العنصر في الصف الثالث والعمود 0 (صفر) من هذا Aspose.Imaging.ColorMatrix.
public float Matrix30 { get; set; }
قيمة الممتلكات
Matrix31
يحصل أو يضع العنصر في الصف الثالث والعمود الأول من هذا Aspose.Imaging.ColorMatrix.
public float Matrix31 { get; set; }
قيمة الممتلكات
Matrix32
يحصل أو يضع العنصر في الصف الثالث والثاني من هذا Aspose.Imaging.ColorMatrix.
public float Matrix32 { get; set; }
قيمة الممتلكات
Matrix33
يحصل أو يضع العنصر في الصف الثالث والثالث من هذا Aspose.Imaging.ColorMatrix.
public float Matrix33 { get; set; }
قيمة الممتلكات
Matrix34
يحصل أو يضع العنصر في الصف الثالث والصف الرابع من هذا Aspose.Imaging.ColorMatrix.
public float Matrix34 { get; set; }
قيمة الممتلكات
Matrix40
يحصل أو يضع العنصر في الصف الرابع والعمود 0 (صفر) من هذا Aspose.Imaging.ColorMatrix.
public float Matrix40 { get; set; }
قيمة الممتلكات
Matrix41
يحصل أو يضع العنصر في الصف الرابع والعمود الأول من هذا Aspose.Imaging.ColorMatrix.
public float Matrix41 { get; set; }
قيمة الممتلكات
Matrix42
يحصل أو يضع العنصر في الصف الرابع والثاني من هذا Aspose.Imaging.ColorMatrix.
public float Matrix42 { get; set; }
قيمة الممتلكات
Matrix43
يحصل أو يضع العنصر في الصف الرابع والثالث من هذا Aspose.Imaging.ColorMatrix.
public float Matrix43 { get; set; }
قيمة الممتلكات
Matrix44
يحصل أو يضع العنصر في الصف الرابع والصف الرابع من هذا Aspose.Imaging.ColorMatrix.
public float Matrix44 { get; set; }
قيمة الممتلكات
هذا[إنت، إنت]
يحصل أو يضع العنصر في الصف والعمود المحدد في Aspose.Imaging.ColorMatrix.
public float this[int row, int column] { get; set; }
قيمة الممتلكات
Methods
GetMatrix()
تحصل على قيم المصفوفة.
public float[][] GetMatrix()
Returns
float [ ]
قيمة المصفوفة.