Class ColorMatrix

Class ColorMatrix

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)

یک ماتریس ۵ در ۵ را تعریف می‌کند که شامل مختصات برای فضای RGBA است. چندین متد از کلاس Aspose.Imaging.ImageAttributes با استفاده از یک ماتریس رنگ، رنگ‌های تصویر را تنظیم می‌کنند. این کلاس نمی‌تواند به ارث برده شود.

public sealed class ColorMatrix

ارث‌بری

objectColorMatrix

اعضای ارث‌بری شده

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

مقدار فیلد

int

MatrixDimensionsCount

تعداد ابعاد ماتریس.

public const int MatrixDimensionsCount = 5

مقدار فیلد

int

MatrixTotalElementsCount

تعداد کل عناصر در ماتریس.

public const int MatrixTotalElementsCount = 25

مقدار فیلد

int

ویژگی‌ها

Matrix00

عنصر در ردیف ۰ (صفر) و ستون ۰ این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix00 { get; set; }

مقدار ویژگی

float

Matrix01

عنصر در ردیف ۰ (صفر) و ستون اول این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix01 { get; set; }

مقدار ویژگی

float

Matrix02

عنصر در ردیف ۰ (صفر) و ستون دوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix02 { get; set; }

مقدار ویژگی

float

Matrix03

عنصر در ردیف ۰ (صفر) و ستون سوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix03 { get; set; }

مقدار ویژگی

float

Matrix04

عنصر در ردیف ۰ (صفر) و ستون چهارم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix04 { get; set; }

مقدار ویژگی

float

Matrix10

عنصر در ردیف اول و ستون ۰ (صفر) این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix10 { get; set; }

مقدار ویژگی

float

Matrix11

عنصر در ردیف اول و ستون اول این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix11 { get; set; }

مقدار ویژگی

float

Matrix12

عنصر در ردیف اول و ستون دوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix12 { get; set; }

مقدار ویژگی

float

Matrix13

عنصر در ردیف اول و ستون سوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix13 { get; set; }

مقدار ویژگی

float

Matrix14

عنصر در ردیف اول و ستون چهارم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix14 { get; set; }

مقدار ویژگی

float

Matrix20

عنصر در ردیف دوم و ستون ۰ (صفر) این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix20 { get; set; }

مقدار ویژگی

float

Matrix21

عنصر در ردیف دوم و ستون اول این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix21 { get; set; }

مقدار ویژگی

float

Matrix22

عنصر در ردیف دوم و ستون دوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix22 { get; set; }

مقدار ویژگی

float

Matrix23

عنصر در ردیف دوم و ستون سوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix23 { get; set; }

مقدار ویژگی

float

Matrix24

عنصر در ردیف دوم و ستون چهارم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix24 { get; set; }

مقدار ویژگی

float

Matrix30

عنصر در ردیف سوم و ستون ۰ (صفر) این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix30 { get; set; }

مقدار ویژگی

float

Matrix31

عنصر در ردیف سوم و ستون اول این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix31 { get; set; }

مقدار ویژگی

float

Matrix32

عنصر در ردیف سوم و ستون دوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix32 { get; set; }

مقدار ویژگی

float

Matrix33

عنصر در ردیف سوم و ستون سوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix33 { get; set; }

مقدار ویژگی

float

Matrix34

عنصر در ردیف سوم و ستون چهارم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix34 { get; set; }

مقدار ویژگی

float

Matrix40

عنصر در ردیف چهارم و ستون ۰ (صفر) این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix40 { get; set; }

مقدار ویژگی

float

Matrix41

عنصر در ردیف چهارم و ستون اول این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix41 { get; set; }

مقدار ویژگی

float

Matrix42

عنصر در ردیف چهارم و ستون دوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix42 { get; set; }

مقدار ویژگی

float

Matrix43

عنصر در ردیف چهارم و ستون سوم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix43 { get; set; }

مقدار ویژگی

float

Matrix44

عنصر در ردیف چهارم و ستون چهارم این Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

public float Matrix44 { get; set; }

مقدار ویژگی

float

this[int, int]

عنصر در ردیف و ستونی که مشخص شده است در Aspose.Imaging.ColorMatrix را دریافت یا تنظیم می‌کند.

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

مقدار ویژگی

float

متدها

GetMatrix()

مقادیر ماتریس را دریافت می‌کند.

public float[][] GetMatrix()

بازگشت

float[][]

آرایه مقادیر ماتریس.

 فارسی