public final class ColorantLab extends ColorantBase
Represents LAB Colorant.
Modifier and Type | Field and Description |
---|---|
static int |
MAX_A
The maximum A component value
|
static int |
MAX_B
The maximum A component value
|
static float |
MAX_L
The maximum A component value
|
static int |
MIN_A
The minimum A component value
|
static int |
MIN_B
The minimum B component value
|
static float |
MIN_L
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
getNamespaceUri, getPrefix
public static final int MIN_A
The minimum A component value
public static final int MAX_A
The maximum A component value
public static final int MIN_B
The minimum B component value
public static final int MAX_B
The maximum A component value
public static final float MIN_L
The minimum L component value
public static final float MAX_L
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