ColorMap 構造体 (gdipluscolormatrix.h)

ColorMap 構造体には、2 つの Color オブジェクトが含まれています。 ImageAttributes クラスのいくつかのメソッドは、ColorMap 構造体の配列であるカラー 再マップ テーブルを使用してイメージの色を調整します。

構文

struct ColorMap {
  Color oldColor;
  Color newColor;
};

メンバー

oldColor

種類:

元の色。

newColor

種類:

新しい色。

要件

   
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
Header gdipluscolormatrix.h (Gdiplus.h を含む)

関連項目

Color

ImageAttributes

カラー再マッピング テーブルの使用