Class ColorantLab
Namespace: Aspose.Imaging.Xmp.Types.Complex.Colorant
Assembly: Aspose.Imaging.dll (25.2.0)
Represents LAB Colorant.
[JsonObject(MemberSerialization.OptIn)]
public sealed class ColorantLab : ColorantBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← ColorantBase ← ColorantLab
Implements
Inherited Members
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()
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Complex.Colorant.ColorantLab class.
[JsonConstructor]
public ColorantLab()
ColorantLab(int, int, float)
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Complex.Colorant.ColorantLab class.
public ColorantLab(int a, int b, float l)
Parameters
a
int
A component.
b
int
B component.
l
float
L component.
Fields
MaxA
The maximum A component value
public const int MaxA = 127
Field Value
MaxB
The maximum A component value
public const int MaxB = 127
Field Value
MaxL
The maximum A component value
public const float MaxL = 100
Field Value
MinA
The minimum A component value
public const int MinA = -128
Field Value
MinB
The minimum B component value
public const int MinB = -128
Field Value
MinL
The minimum L component value
public const float MinL = 0
Field Value
Properties
A
Gets or sets the A component.
public int A { get; set; }
Property Value
B
Gets or sets the B component.
public int B { get; set; }
Property Value
L
Gets or sets the L component.
public float L { get; set; }
Property Value
Methods
GetXmpRepresentation()
Gets the string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
Returns the string contained value in XMP format.