ImageAttributes.ClearColorMatrix メソッド

定義

色調整マトリックスをクリアします。

オーバーロード

名前 説明
ClearColorMatrix()

既定のカテゴリの色調整マトリックスをクリアします。

ClearColorMatrix(ColorAdjustType)

指定したカテゴリの色調整マトリックスをクリアします。

ClearColorMatrix()

ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs

既定のカテゴリの色調整マトリックスをクリアします。

public:
 void ClearColorMatrix();
public void ClearColorMatrix();
member this.ClearColorMatrix : unit -> unit
Public Sub ClearColorMatrix ()

注釈

ImageAttributes オブジェクトは、既定、ビットマップ、ブラシ、ペン、テキストの 5 つの調整カテゴリの色とグレースケールの設定を維持します。 たとえば、既定のカテゴリの色調整マトリックス、ビットマップ カテゴリの別の色調整マトリックス、ペン カテゴリに対して別の色調整マトリックスを指定できます。

既定の色調整とグレースケール調整の設定は、独自の調整設定を持たないすべてのカテゴリに適用されます。 たとえば、ペン カテゴリの調整設定を指定しない場合は、既定の設定がペン カテゴリに適用されます。

適用対象

ClearColorMatrix(ColorAdjustType)

ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs
ソース:
ImageAttributes.cs

指定したカテゴリの色調整マトリックスをクリアします。

public:
 void ClearColorMatrix(System::Drawing::Imaging::ColorAdjustType type);
public void ClearColorMatrix(System.Drawing.Imaging.ColorAdjustType type);
member this.ClearColorMatrix : System.Drawing.Imaging.ColorAdjustType -> unit
Public Sub ClearColorMatrix (type As ColorAdjustType)

パラメーター

type
ColorAdjustType

色調整マトリックスをクリアするカテゴリを指定する ColorAdjustType の要素。

注釈

ImageAttributes オブジェクトは、既定、ビットマップ、ブラシ、ペン、テキストの 5 つの調整カテゴリの色とグレースケールの設定を維持します。 たとえば、既定のカテゴリの色調整マトリックス、ビットマップ カテゴリの別の色調整マトリックス、ペン カテゴリに対して別の色調整マトリックスを指定できます。

既定の色調整とグレースケール調整の設定は、独自の調整設定を持たないすべてのカテゴリに適用されます。 たとえば、ペン カテゴリの調整設定を指定しない場合は、既定の設定がペン カテゴリに適用されます。

特定のカテゴリに対して色調整またはグレースケール調整設定を指定するとすぐに、既定の調整設定がそのカテゴリに適用されなくなります。 たとえば、既定のカテゴリに色調整行列とガンマ値を指定するとします。 SetColorMatrix メソッドを呼び出してペン カテゴリの色調整マトリックスを設定した場合、既定の色調整マトリックスはペンには適用されません。 後で ClearColorMatrix メソッドを呼び出してペンの色調整マトリックスをクリアした場合、ペン カテゴリは既定の調整マトリックスに戻りません。代わりに、ペン カテゴリには調整マトリックスはありません。 同様に、ペン カテゴリは既定のガンマ値に戻りません。むしろ、ペンカテゴリにはガンマ値はありません。

適用対象