public final class ColorMap extends Object
Defines a map for converting colors. Several methods of the com.aspose.imaging.ImageAttributes
class
adjust image colors by using a color-remap table, which is an array of com.aspose.imaging.ColorMap
structures.
Not inheritable.
Constructor and Description |
---|
ColorMap() |
Modifier and Type | Method and Description |
---|---|
Color |
getNewColor()
Gets the new
com.aspose.imaging.Color structure to which to convert. |
Color |
getOldColor()
Gets the existing
com.aspose.imaging.Color structure to be converted. |
void |
setNewColor(Color value)
Sets the new
com.aspose.imaging.Color structure to which to convert. |
void |
setOldColor(Color value)
Sets the existing
com.aspose.imaging.Color structure to be converted. |
public Color getOldColor()
Gets the existing com.aspose.imaging.Color
structure to be converted.
com.aspose.imaging.Color
structure to be converted.public void setOldColor(Color value)
Sets the existing com.aspose.imaging.Color
structure to be converted.
value
- The existing com.aspose.imaging.Color
structure to be converted.public Color getNewColor()
Gets the new com.aspose.imaging.Color
structure to which to convert.
com.aspose.imaging.Color
structure to which to convert.public void setNewColor(Color value)
Sets the new com.aspose.imaging.Color
structure to which to convert.
value
- The new com.aspose.imaging.Color
structure to which to convert.