Class ColorantLab

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

objectXmpTypeBaseComplexTypeBaseColorantBaseColorantLab

Implements

IXmpType, ICloneable

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

int

MaxB

The maximum A component value

public const int MaxB = 127

Field Value

int

MaxL

The maximum A component value

public const float MaxL = 100

Field Value

float

MinA

The minimum A component value

public const int MinA = -128

Field Value

int

MinB

The minimum B component value

public const int MinB = -128

Field Value

int

MinL

The minimum L component value

public const float MinL = 0

Field Value

float

Properties

A

Gets or sets the A component.

public int A { get; set; }

Property Value

int

B

Gets or sets the B component.

public int B { get; set; }

Property Value

int

L

Gets or sets the L component.

public float L { get; set; }

Property Value

float

Methods

GetXmpRepresentation()

Gets the string contained value in XMP format.

public override string GetXmpRepresentation()

Returns

string

Returns the string contained value in XMP format.