ColorMap class

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.

public sealed class ColorMap


Name Description
ColorMap() Initializes a new instance of the ColorMap class.


Name Description
NewColor { get; set; } Gets or sets the new Color structure to which to convert.
OldColor { get; set; } Gets or sets the existing Color structure to be converted.

See Also