public class CmxColor extends Object
Represents a color value.
| Constructor and Description |
|---|
CmxColor() |
CmxColor(int colorModel,
long value)
Creates a new CmxColor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Check if objects are equal.
|
int |
getColorModel()
Gets the color model.
|
long |
getValue()
Gets the color value.
|
int |
hashCode()
Get hash code of the current object.
|
void |
setColorModel(int value)
Sets the color model.
|
void |
setValue(long value)
Sets the color value.
|
String |
toString()
Returns a
String that represents this instance. |
public CmxColor()
public CmxColor(int colorModel,
long value)
colorModel - the color model.value - The color value.ColorModelspublic final int getColorModel()
Gets the color model.
public final void setColorModel(int value)
Sets the color model.
value - the color model.public final long getValue()
Gets the color value.
public final void setValue(long value)
Sets the color value.
value - the color value.public boolean equals(Object o)
Check if objects are equal.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.