ColorantLab

Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase, com.aspose.imaging.xmp.types.complex.ComplexTypeBase, com.aspose.imaging.xmp.types.complex.colorant.ColorantBase

public final class ColorantLab extends ColorantBase

Represents LAB Colorant.

Constructors

ConstructorDescription
ColorantLab()Initializes a new instance of the ColorantLab class.
ColorantLab(int a, int b, float l)Initializes a new instance of the ColorantLab class.

Fields

FieldDescription
MIN_AThe minimum A component value
MAX_AThe maximum A component value
MIN_BThe minimum B component value
MAX_BThe maximum A component value
MIN_LThe minimum L component value
MAX_LThe maximum A component value

Methods

MethodDescription
getA()Gets or sets the A component.
setA(int value)Gets or sets the A component.
getB()Gets or sets the B component.
setB(int value)Gets or sets the B component.
getL()Gets or sets the L component.
setL(float value)Gets or sets the L component.
getXmpRepresentation()Gets the string contained value in XMP format.

ColorantLab()

public ColorantLab()

Initializes a new instance of the ColorantLab class.

ColorantLab(int a, int b, float l)

public ColorantLab(int a, int b, float l)

Initializes a new instance of the ColorantLab class.

Parameters:

ParameterTypeDescription
aintA component.
bintB component.
lfloatL component.

MIN_A

public static final int MIN_A

The minimum A component value

MAX_A

public static final int MAX_A

The maximum A component value

MIN_B

public static final int MIN_B

The minimum B component value

MAX_B

public static final int MAX_B

The maximum A component value

MIN_L

public static final float MIN_L

The minimum L component value

MAX_L

public static final float MAX_L

The maximum A component value

getA()

public int getA()

Gets or sets the A component.

Value: The A component.

Returns: int

setA(int value)

public void setA(int value)

Gets or sets the A component.

Value: The A component.

Parameters:

ParameterTypeDescription
valueint

getB()

public int getB()

Gets or sets the B component.

Value: The B component.

Returns: int

setB(int value)

public void setB(int value)

Gets or sets the B component.

Value: The B component.

Parameters:

ParameterTypeDescription
valueint

getL()

public float getL()

Gets or sets the L component.

Value: The L component.

Returns: float

setL(float value)

public void setL(float value)

Gets or sets the L component.

Value: The L component.

Parameters:

ParameterTypeDescription
valuefloat

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.