ColorantLab
Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase, com.aspose.imaging.xmp.types.complex.ComplexTypeBase, com.aspose.imaging.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 |
---|---|
MIN_A | The minimum A component value |
MAX_A | The maximum A component value |
MIN_B | The minimum B component value |
MAX_B | The maximum A component value |
MIN_L | The minimum L component value |
MAX_L | The maximum A component value |
Methods
Method | Description |
---|---|
getA() | Gets or sets the A component. |
setA(int value) | Gets or sets the A component. |
getB() | Gets or sets the B component. |
setB(int value) | Gets or sets the B component. |
getL() | Gets or sets the L component. |
setL(float value) | Gets or sets the L component. |
getXmpRepresentation() | Gets the string contained value in XMP format. |
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. |
MIN_A
public static final int MIN_A
The minimum A component value
MAX_A
public static final int MAX_A
The maximum A component value
MIN_B
public static final int MIN_B
The minimum B component value
MAX_B
public static final int MAX_B
The maximum A component value
MIN_L
public static final float MIN_L
The minimum L component value
MAX_L
public static final float MAX_L
The maximum A component value
getA()
public int getA()
Gets or sets the A component.
Value: The A component.
Returns: int
setA(int value)
public void setA(int value)
Gets or sets the A component.
Value: The A component.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getB()
public int getB()
Gets or sets the B component.
Value: The B component.
Returns: 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 |
getL()
public float getL()
Gets or sets the L component.
Value: The L component.
Returns: float
setL(float value)
public void setL(float value)
Gets or sets the L component.
Value: The L component.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getXmpRepresentation()
public String getXmpRepresentation()
Gets the string contained value in XMP format.
Returns: java.lang.String - Returns the string contained value in XMP format.