Class ColorMatrix
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)
یک ماتریس ۵ در ۵ را تعریف میکند که شامل مختصات برای فضای RGBA است. چندین متد از کلاس Aspose.Imaging.ImageAttributes با استفاده از یک ماتریس رنگ، رنگهای تصویر را تنظیم میکنند. این کلاس نمیتواند به ارث برده شود.
public sealed class ColorMatrix
ارثبری
اعضای ارثبری شده
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
سازندهها
ColorMatrix()
یک نمونه جدید از کلاس Aspose.Imaging.ColorMatrix را مقداردهی اولیه میکند.
public ColorMatrix()
ColorMatrix(float[][])
یک نمونه جدید از کلاس Aspose.Imaging.ColorMatrix را با استفاده از عناصر موجود در ماتریس مشخصشده newColorMatrix
مقداردهی اولیه میکند.
public ColorMatrix(float[][] newColorMatrix)
پارامترها
newColorMatrix
float[][]
مقادیر عناصر برای Aspose.Imaging.ColorMatrix جدید.
فیلدها
MatrixDimensionElementsCount
تعداد عناصر در ابعاد ماتریس.
public const int MatrixDimensionElementsCount = 5
مقدار فیلد
MatrixDimensionsCount
تعداد ابعاد ماتریس.
public const int MatrixDimensionsCount = 5
مقدار فیلد
MatrixTotalElementsCount
تعداد کل عناصر در ماتریس.
public const int MatrixTotalElementsCount = 25
مقدار فیلد
ویژگیها
Matrix00
عنصر در ردیف ۰ (صفر) و ستون ۰ این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم میکند.
public float Matrix00 { get; set; }
مقدار ویژگی
Matrix01
عنصر در ردیف ۰ (صفر) و ستون اول این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم میکند.
public float Matrix01 { get; set; }
مقدار ویژگی
Matrix02
عنصر در ردیف ۰ (صفر) و ستون دوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم میکند.
public float Matrix02 { get; set; }
مقدار ویژگی
Matrix03
عنصر در ردیف ۰ (صفر) و ستون سوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم میکند.
public float Matrix03 { get; set; }
مقدار ویژگی
Matrix04
عنصر در ردیف ۰ (صفر) و ستون چهارم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم میکند.
public float Matrix04 { get; set; }
مقدار ویژگی
Matrix10
عنصر در ردیف اول و ستون ۰ (صفر) این 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
عنصر در ردیف دوم و ستون ۰ (صفر) این 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
عنصر در ردیف سوم و ستون ۰ (صفر) این 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
عنصر در ردیف چهارم و ستون ۰ (صفر) این 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; }
مقدار ویژگی
this[int, int]
عنصر در ردیف و ستونی که مشخص شده است در Aspose.Imaging.ColorMatrix را دریافت یا تنظیم میکند.
public float this[int row, int column] { get; set; }
مقدار ویژگی
متدها
GetMatrix()
مقادیر ماتریس را دریافت میکند.
public float[][] GetMatrix()
بازگشت
float[][]
آرایه مقادیر ماتریس.