Class ColorantLab
Tên không gian: Aspose.Imaging.Xmp.Types.Complex.Colorant Tổng hợp: Aspose.Imaging.dll (25.5.0)
Hiển thị LAB Colorant.
[JsonObject(MemberSerialization.OptIn)]
public sealed class ColorantLab : ColorantBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← ColorantBase ← ColorantLab
Implements
Thành viên thừa kế
ColorantBase.GetXmpRepresentation() , ColorantBase.Mode , ColorantBase.SwatchName , ColorantBase.ColorType , ComplexTypeBase.GetXmpRepresentation() , ComplexTypeBase.Prefix , ComplexTypeBase.NamespaceUri , XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ColorantLab()
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Complex.Colorant. ColorantLab.
[JsonConstructor]
public ColorantLab()
ColorantLab(int, int, float)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Complex.Colorant. ColorantLab.
public ColorantLab(int a, int b, float l)
Parameters
a
int
một thành phần.
b
int
B thành phần
l
float
L Thành phần
Fields
Maxi
Giá trị tối đa của một thành phần
public const int MaxA = 127
Giá trị Field
MaxB
Giá trị tối đa của một thành phần
public const int MaxB = 127
Giá trị Field
MaxL
Giá trị tối đa của một thành phần
public const float MaxL = 100
Giá trị Field
Nhỏ
Giá trị tối thiểu của một thành phần
public const int MinA = -128
Giá trị Field
MinB
Giá trị tối thiểu của thành phần B
public const int MinB = -128
Giá trị Field
Nhỏ
Giá trị tối thiểu của thành phần L
public const float MinL = 0
Giá trị Field
Properties
A
Nhận hoặc đặt thành phần A.
public int A { get; set; }
Giá trị bất động sản
B
Nhận hoặc đặt thành phần B.
public int B { get; set; }
Giá trị bất động sản
L
Nhận hoặc đặt thành phần L.
public float L { get; set; }
Giá trị bất động sản
Methods
GetXmpRepresentation()
Nhận giá trị dòng chứa trong định dạng XMP.
public override string GetXmpRepresentation()
Returns
Trả lại giá trị của string trong định dạng XMP.