Name

ColorMap

Synopsis

This class defines a mapping of one color to another: the NewColor and the OldColor. Several of the ImageAttributes methods (such as ImageAttributes.SetRemapTable()) use an array of these objects to define a color mapping table.


public sealed class ColorMap {

// Public Constructors

   public ColorMap();

// Public Instance Properties

   public Color NewColor{set; get; }

   public Color OldColor{set; get; }

}

Passed To

ImageAttributes.{SetBrushRemapTable(), SetRemapTable()}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.