ColorantLab

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase, com.aspose.psd.xmp.types.complex.ComplexTypeBase, com.aspose.psd.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
MaxAThe maximum A component value
MaxBThe maximum A component value
MaxLThe maximum A component value
MinAThe minimum A component value
MinBThe minimum B component value
MinLThe minimum L component value

Methods

MethodDescription
add(String key, Object value)Adds the specified key.
equals(Object arg0)
getA()Gets or sets the A component.
getB()Gets or sets the B component.
getClass()
getColorType()Gets or sets the type of the color.
getL()Gets or sets the L component.
getMode()Gets ColorMode .
getNamespaceUri()Gets the default namespace URI.
getPrefix()Gets the prefix.
getSwatchName()Gets or sets the name of the swatch.
getXmpRepresentation()Gets the string contained value in XMP format.
hashCode()
notify()
notifyAll()
setA(int value)Gets or sets the A component.
setB(int value)Gets or sets the B component.
setColorType(int value)Gets or sets the type of the color.
setL(float value)Gets or sets the L component.
setSwatchName(String value)Gets or sets the name of the swatch.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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.

MaxA

public static final int MaxA

The maximum A component value

MaxB

public static final int MaxB

The maximum A component value

MaxL

public static final float MaxL

The maximum A component value

MinA

public static final int MinA

The minimum A component value

MinB

public static final int MinB

The minimum B component value

MinL

public static final float MinL

The minimum L component value

add(String key, Object value)

public void add(String key, Object value)

Adds the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.ObjectThe value to add to.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getA()

public int getA()

Gets or sets the A component.

Value: The A component.

Returns: int

getB()

public int getB()

Gets or sets the B component.

Value: The B component.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColorType()

public int getColorType()

Gets or sets the type of the color.

Value: The type of the color.

Returns: int

getL()

public float getL()

Gets or sets the L component.

Value: The L component.

Returns: float

getMode()

public int getMode()

Gets ColorMode .

Value: The color mode.

Returns: int

getNamespaceUri()

public String getNamespaceUri()

Gets the default namespace URI.

Returns: java.lang.String - The default namespace URI.

getPrefix()

public String getPrefix()

Gets the prefix.

Returns: java.lang.String - The prefix.

getSwatchName()

public String getSwatchName()

Gets or sets the name of the swatch.

Value: The name of the swatch.

Returns: java.lang.String

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

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

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setA(int value)

public void setA(int value)

Gets or sets the A component.

Value: The A component.

Parameters:

ParameterTypeDescription
valueint

setB(int value)

public void setB(int value)

Gets or sets the B component.

Value: The B component.

Parameters:

ParameterTypeDescription
valueint

setColorType(int value)

public void setColorType(int value)

Gets or sets the type of the color.

Value: The type of the color.

Parameters:

ParameterTypeDescription
valueint

setL(float value)

public void setL(float value)

Gets or sets the L component.

Value: The L component.

Parameters:

ParameterTypeDescription
valuefloat

setSwatchName(String value)

public void setSwatchName(String value)

Gets or sets the name of the swatch.

Value: The name of the swatch.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int