ColorantLab Class

Summary: Represents LAB Colorant.

Module: aspose.imaging.xmp.types.complex.colorant

Full Name: aspose.imaging.xmp.types.complex.colorant.ColorantLab

Inheritance: IXmpType, ColorantBase

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
ColorantLab()Initializes a new instance of the ColorantLab class.
ColorantLab(a, b, l)Initializes a new instance of the ColorantLab class.

Properties

NameTypeAccessDescription
MAX_A [static]intrThe maximum A component value
MAX_B [static]intrThe maximum A component value
MAX_L [static]floatrThe maximum A component value
MIN_A [static]intrThe minimum A component value
MIN_B [static]intrThe minimum B component value
MIN_L [static]floatrThe minimum L component value
aintr/wGets or sets the A component.
bintr/wGets or sets the B component.
color_typeColorTyper/wGets or sets the type of the color.
lfloatr/wGets or sets the L component.
modeColorModerGets ColorMode.
namespace_uristringrGets the default namespace URI.
prefixstringrGets the prefix.
swatch_namestringr/wGets or sets the name of the swatch.

Methods

NameDescription
get_xmp_representation()Gets the string contained value in XMP format.

Constructor: ColorantLab()

 ColorantLab() 

Initializes a new instance of the ColorantLab class.

Constructor: ColorantLab(a, b, l)

 ColorantLab(a, b, l) 

Initializes a new instance of the ColorantLab class.

Parameters:

ParameterTypeDescription
aintA component.
bintB component.
lfloatL component.

Method: get_xmp_representation()

 get_xmp_representation() 

Gets the string contained value in XMP format.

Returns

TypeDescription
stringReturns the string contained value in XMP format.