ImageAttributes.ClearColorMatrixとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ImageAttributes.ClearColorMatrixの意味・解説 

ImageAttributes.ClearColorMatrix メソッド ()

既定のカテゴリのカラー調整行列を消去します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub ClearColorMatrix
Dim instance As ImageAttributes

instance.ClearColorMatrix
public void ClearColorMatrix ()
public:
void ClearColorMatrix ()
public void ClearColorMatrix ()
public function ClearColorMatrix ()

戻り値
このメソッドは値を返しません。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ImageAttributes クラス
ImageAttributes メンバ
System.Drawing.Imaging 名前空間

ImageAttributes.ClearColorMatrix メソッド (ColorAdjustType)

指定したカテゴリのカラー調整行列を消去します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub ClearColorMatrix ( _
    type As ColorAdjustType _
)
Dim instance As ImageAttributes
Dim type As ColorAdjustType

instance.ClearColorMatrix(type)
public void ClearColorMatrix (
    ColorAdjustType type
)
public:
void ClearColorMatrix (
    ColorAdjustType type
)
public void ClearColorMatrix (
    ColorAdjustType type
)
public function ClearColorMatrix (
    type : ColorAdjustType
)

パラメータ

type

カラー調整行列を消去する対象のカテゴリを指定する ColorAdjustType の要素。

戻り値
このメソッドは値を返しません。

解説解説

ImageAttributes オブジェクトは、5 つの調整カテゴリ (既定、ビットマップ、ブラシ、ペン、テキスト) に関して色とグレースケールの設定を保持します。たとえば、既定のカテゴリにあるカラー調整行列を指定し、ビットマップ カテゴリには別のカラー調整行列を指定し、さらにペン カテゴリにも異なるカラー調整行列を指定できます。

既定のカラー調整設定値およびグレースケール調整設定値は、調整設定値が設定されていないすべてのカテゴリに対して適用されます。たとえば、ペン カテゴリの調整設定を一切指定していない場合、ペン カテゴリには既定の設定が適用されます。

特定のカテゴリに対してカラー調整設定値またはグレースケール調整設定値を指定すると、そのカテゴリに適用されていた既定の調整設定値は解除されます。たとえば、既定のカテゴリにカラー調整行列とガンマ値を指定したとします。SetColorMatrix メソッドを呼び出してペン カテゴリのカラー調整行列を設定すると、ペンには既定のカラー調整行列は適用されません。その後で ClearColorMatrix メソッドを呼び出してペンのカラー調整行列を消去しても、ペン カテゴリが既定のカラー調整行列に戻されることはありません。ペン カテゴリはカラー調整行列を持たなくなります。同様に、ペン カテゴリで既定のガンマ値が使用されることはありません。ペン カテゴリのガンマ値は指定されません。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ImageAttributes クラス
ImageAttributes メンバ
System.Drawing.Imaging 名前空間

ImageAttributes.ClearColorMatrix メソッド

カラー調整行列を消去します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
ImageAttributes.ClearColorMatrix () 既定のカテゴリのカラー調整行列を消去します。
ImageAttributes.ClearColorMatrix (ColorAdjustType) 指定したカテゴリのカラー調整行列を消去します。
参照参照

関連項目

ImageAttributes クラス
ImageAttributes メンバ
System.Drawing.Imaging 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「ImageAttributes.ClearColorMatrix」の関連用語

ImageAttributes.ClearColorMatrixのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ImageAttributes.ClearColorMatrixのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS