public final class ColorantLAB extends ColorantBase
Represents LAB Colorant.
Modifier and Type | Field and Description |
---|---|
static int |
MAX_A
Component A max value.
|
static int |
MAX_B
Component B max value.
|
static float |
MAX_L
Component L max value.
|
static int |
MIN_A
Component A min value.
|
static int |
MIN_B
Component B min value.
|
static float |
MIN_L
Component L min 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 A component.
|
int |
getB()
Gets B component.
|
float |
getL()
Gets L component.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
void |
setA(int value)
Sets A component.
|
void |
setB(int value)
Sets B component.
|
void |
setL(float value)
Sets L component.
|
getColorType, getMode, getSwatchName, setColorType, setSwatchName
getNamespaceUri, getPrefix
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public static final int MIN_A
Component A min value.
public static final int MAX_A
Component A max value.
public static final int MIN_B
Component B min value.
public static final int MAX_B
Component B max value.
public static final float MIN_L
Component L min value.
public static final float MAX_L
Component L max 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 final int getA()
Gets A component.
public final void setA(int value)
Sets A component.
value
- A component.public final int getB()
Gets B component.
public final void setB(int value)
Sets B component.
value
- B component.public final float getL()
Gets L component.
public final void setL(float value)
Sets L component.
value
- L component.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class ColorantBase
string
contained XMP representation.Copyright © 2018. All rights reserved.