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
Constructor | Description |
---|---|
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
Field | Description |
---|---|
MaxA | The maximum A component value |
MaxB | The maximum A component value |
MaxL | The maximum A component value |
MinA | The minimum A component value |
MinB | The minimum B component value |
MinL | The minimum L component value |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
a | int | A component. |
b | int | B component. |
l | float | L 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:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with added value. |
value | java.lang.Object | The value to add to. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | int |
setB(int value)
public void setB(int value)
Gets or sets the B component.
Value: The B component.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setColorType(int value)
public void setColorType(int value)
Gets or sets the type of the color.
Value: The type of the color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setL(float value)
public void setL(float value)
Gets or sets the L component.
Value: The L component.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setSwatchName(String value)
public void setSwatchName(String value)
Gets or sets the name of the swatch.
Value: The name of the swatch.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |