Class ColorMatrix
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)
กำหนดเมทริกซ์ขนาด 5 x 5 ที่มีพิกัดสำหรับพื้นที่ 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
รับหรือกำหนดส่วนประกอบที่แถว 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; }
ค่าคุณสมบัติ
this[int, int]
รับหรือกำหนดส่วนประกอบที่แถวและคอลัมน์ที่ระบุใน Aspose.Imaging.ColorMatrix
public float this[int row, int column] { get; set; }
ค่าคุณสมบัติ
วิธีการ
GetMatrix()
รับค่าของเมทริกซ์
public float[][] GetMatrix()
คืนค่า
float[][]
อาร์เรย์ค่าของเมทริกซ์