ImageAttributes 類別 (gdiplusimageattributes.h)

ImageAttributes物件包含點陣圖和中繼檔色彩在轉譯期間操作方式的相關資訊。 ImageAttributes物件會維護數個色彩調整設定,包括色彩調整矩陣、灰階調整矩陣、gamma-校正值、色彩對應表和色彩臨界值。

繼承

ImageAttributes 類別會實作 GdiplusBase。

方法

ImageAttributes類別具有這些方法。

 
ImageAttributes::ClearBrushRemapTable

ImageAttributes::ClearBrushRemapTable 方法會清除此 ImageAttributes 物件的筆刷色彩重新對應表。
ImageAttributes::ClearColorKey

ImageAttributes::ClearColorKey 方法會清除指定類別的色彩索引鍵 (透明度範圍) 。
ImageAttributes::ClearColorMatrices

ImageAttributes::ClearColorMatrices 方法會清除指定類別的色彩調整矩陣和灰階調整矩陣。
ImageAttributes::ClearColorMatrix

ImageAttributes::ClearColorMatrix 方法會清除指定類別的色彩調整矩陣。
ImageAttributes::ClearGamma

ImageAttributes::ClearGamma 方法會停用指定類別的 Gamma 更正。
ImageAttributes::ClearNoOp

ImageAttributes::ClearNoOp 方法會清除指定類別的 NoOp 設定。
ImageAttributes::ClearOutputChannel

ImageAttributes::ClearOutputChannel 方法會清除指定類別的 cyan-magenta-yellow-black (CMYK) 輸出通道設定。
ImageAttributes::ClearOutputChannelColorProfile

ImageAttributes::ClearOutputChannelColorProfile 方法會清除指定類別的輸出通道色彩設定檔設定。
ImageAttributes::ClearRemapTable

ImageAttributes::ClearRemapTable 方法會清除指定類別的色彩重新對應資料表。
ImageAttributes::ClearThreshold

ImageAttributes::ClearThreshold 方法會清除指定類別的閾值。
ImageAttributes::Clone

ImageAttributes::Clone 方法會複製這個 ImageAttributes 物件。
ImageAttributes::GetAdjustedPalette

ImageAttributes::GetAdjustedPalette 方法會根據指定類別的調整設定,調整調色盤中的色彩。
ImageAttributes::GetLastStatus

ImageAttributes::GetLastStatus 方法會傳回值,指出這個 ImageAttributes 物件最近方法失敗的本質。
ImageAttributes::ImageAttributes

建立 ImageAttributes::ImageAttributes 物件。 這是預設建構函式。 (ImageAttributes.ImageAttributes)
ImageAttributes::ImageAttributes

建立 ImageAttributes::ImageAttributes 物件。 這是預設建構函式。 (多載 2/3)
ImageAttributes::ImageAttributes

建立 ImageAttributes::ImageAttributes 物件。 這是預設建構函式。 (多載 1/3)
ImageAttributes::Reset

ImageAttributes::Reset 方法會清除指定類別的所有色彩和灰階調整設定。
ImageAttributes::SetBrushRemapTable

ImageAttributes::SetBrushRemapTable 方法會設定筆刷類別的色彩重新對應表格。
ImageAttributes::SetColorKey

ImageAttributes::SetColorKey 方法會為指定的類別設定色彩索引鍵 (透明度範圍) 。
ImageAttributes::SetColorMatrices

ImageAttributes::SetColorMatrices 方法會設定指定類別的色彩調整矩陣和灰階調整矩陣。
ImageAttributes::SetColorMatrix

ImageAttributes::SetColorMatrix 方法會設定指定類別的色彩調整矩陣。
ImageAttributes::SetGamma

ImageAttributes::SetGamma 方法會設定指定類別的 gamma 值。
ImageAttributes::SetNoOp

ImageAttributes::SetNoOp 方法會關閉指定類別的色彩調整。 您可以呼叫 ImageAttributes::ClearNoOp,以恢復呼叫 ImageAttributes::SetNoOp 之前已就緒的色彩調整設定。
ImageAttributes::SetOutputChannel

ImageAttributes::SetOutputChannel 方法會設定指定類別的 CMYK 輸出通道。
ImageAttributes::SetOutputChannelColorProfile

ImageAttributes::SetOutputChannelColorProfile 方法會設定指定類別的輸出通道色彩設定檔。
ImageAttributes::SetRemapTable

ImageAttributes::SetRemapTable 方法會設定指定類別的色彩重新對應資料表。
ImageAttributes::SetThreshold

ImageAttributes::SetThreshold 方法會設定指定類別) (透明度範圍的臨界值。
ImageAttributes::SetToIdentity

ImageAttributes::SetToIdentity 方法會將指定類別的色彩調整矩陣設定為識別矩陣。
ImageAttributes::SetWrapMode

ImageAttributes::SetWrapMode 方法會設定這個 ImageAttributes 物件的包裝模式。

備註

在轉譯期間可以操作影像中的色彩。 它們可以更正、變深、變淺、移除等等。 若要套用這類操作,請初始化 ImageAttributes 物件,並將該 ImageAttributes 物件的位址連同 Image (物件的位址) 傳遞至 Graphics::D rawImage 方法。

需求

   
目標平台 Windows
標頭 gdiplusimageattributes.h