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() |
Modifier and Type | Method and Description |
---|---|
Color |
getNewColor()
Gets or sets the new
Color structure to which to convert. |
Color |
getOldColor()
Gets or sets the existing
Color structure to be converted. |
void |
setNewColor(Color value)
Gets or sets the new
Color structure to which to convert. |
void |
setOldColor(Color value)
Gets or sets the existing
Color structure to be converted. |
public final Color getOldColor()
Gets or sets the existing Color
structure to be converted.
Color
structure to be converted.public final void setOldColor(Color value)
Gets or sets the existing Color
structure to be converted.
Color
structure to be converted.public final Color getNewColor()
Gets or sets the new Color
structure to which to convert.
Color
structure to which to convert.public final void setNewColor(Color value)
Gets or sets the new Color
structure to which to convert.
Color
structure to which to convert.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.