@Deprecated public final class ColorantLAB extends ColorantBase
Represents LAB Colorant.
Modifier and Type | Field and Description |
---|---|
static int |
MAX_A
Deprecated.
Component A max value.
|
static int |
MAX_B
Deprecated.
Component B max value.
|
static float |
MAX_L
Deprecated.
Component L max value.
|
static int |
MIN_A
Deprecated.
Component A min value.
|
static int |
MIN_B
Deprecated.
Component B min value.
|
static float |
MIN_L
Deprecated.
Component L min value.
|
Constructor and Description |
---|
ColorantLAB()
Deprecated.
Initializes a new instance of the
ColorantLAB class. |
ColorantLAB(int a,
int b,
float l)
Deprecated.
Initializes a new instance of the
ColorantLAB class. |
Modifier and Type | Method and Description |
---|---|
int |
getA()
Deprecated.
Gets A component.
|
int |
getB()
Deprecated.
Gets B component.
|
float |
getL()
Deprecated.
Gets L component.
|
String |
getXmpRepresentation()
Deprecated.
Returns string contained value in XMP format.
|
void |
setA(int value)
Deprecated.
Sets A component.
|
void |
setB(int value)
Deprecated.
Sets B component.
|
void |
setL(float value)
Deprecated.
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 © 2020. All rights reserved.