語言

GrayScaleEffect 類別

定義

產生將影像轉換成灰階的效果。

public ref class GrayScaleEffect sealed : System::Drawing::Imaging::Effects::ColorMatrixEffect
public sealed class GrayScaleEffect : System.Drawing.Imaging.Effects.ColorMatrixEffect
type GrayScaleEffect = class
    inherit ColorMatrixEffect
Public NotInheritable Class GrayScaleEffect
Inherits ColorMatrixEffect
繼承
GrayScaleEffect

建構函式

名稱 Description
GrayScaleEffect()

建立 ColorMatrixEffect 一個將影像轉換成灰階的

屬性

名稱 Description
Matrix

取得色彩轉換矩陣。

(繼承來源 ColorMatrixEffect)

方法

名稱 Description
Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

(繼承來源 Effect)
Dispose(Boolean)

釋放 未管理的資源, Effect 並可選擇性地釋放受管理資源。

(繼承來源 Effect)

適用於