public final class ColorantLab extends ColorantBase
Represents LAB Colorant.
Modifier and Type | Field and Description |
---|---|
static int |
MaxA
The maximum A component value
|
static int |
MaxB
The maximum A component value
|
static float |
MaxL
The maximum A component value
|
static int |
MinA
The minimum A component value
|
static int |
MinB
The minimum B component value
|
static float |
MinL
The minimum L component value
|
Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
int |
getA()
Gets or sets the A component.
|
int |
getB()
Gets or sets the B component.
|
float |
getL()
Gets or sets the L component.
|
String |
getXmpRepresentation()
Gets the string contained value in XMP format.
|
void |
setA(int value)
Gets or sets the A component.
|
void |
setB(int value)
Gets or sets the B component.
|
void |
setL(float value)
Gets or sets the L component.
|
getColorType, getMode, getSwatchName, setColorType, setSwatchName
add, getNamespaceUri, getPrefix
public static final int MinA
The minimum A component value
public static final int MaxA
The maximum A component value
public static final int MinB
The minimum B component value
public static final int MaxB
The maximum A component value
public static final float MinL
The minimum L component value
public static final float MaxL
The maximum A component value
public ColorantLab()
Initializes a new instance of the ColorantLab
class.
public ColorantLab(int a, int b, float l)
Initializes a new instance of the ColorantLab
class.
a
- A component.b
- B component.l
- L component.public int getA()
Gets or sets the A component.
Value: The A component.public void setA(int value)
Gets or sets the A component.
Value: The A component.public int getB()
Gets or sets the B component.
Value: The B component.public void setB(int value)
Gets or sets the B component.
Value: The B component.public float getL()
Gets or sets the L component.
Value: The L component.public void setL(float value)
Gets or sets the L component.
Value: The L component.public String getXmpRepresentation()
Gets the string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class ColorantBase