public final class ColorMap extends Object
Defines a map for converting colors. Several methods of the ImageAttributes class adjust
image colors by using a color-remap table, which is an array of ColorMap structures.
Not inheritable.
| Constructor and Description |
|---|
ColorMap()
Initializes a new instance of the
ColorMap class. |
| Modifier and Type | Method and Description |
|---|---|
Color |
getNewColor()
Gets the new
Color structure to which to convert. |
Color |
getOldColor()
Gets the existing
Color structure to be converted. |
void |
setNewColor(Color value)
Sets the new
Color structure to which to convert. |
void |
setOldColor(Color value)
Sets the existing
Color structure to be converted. |
public ColorMap()
Initializes a new instance of the ColorMap class.
public Color getOldColor()
Gets the existing Color structure to be converted.
Color structure to be converted.public void setOldColor(Color value)
Sets the existing Color structure to be converted.
value - the existing Color structure to be converted.public Color getNewColor()
Gets the new Color structure to which to convert.
Color structure to which to convert.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.