Class ColorMap

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

Constructors

NameDescription
ColorMap()The default constructor.

Properties

NameDescription
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