語言

ScriptIntrinsicColorMatrix.SetGreyscale 方法

定義

設定一個色彩矩陣,從 RGB 轉換成亮度。

[Android.Runtime.Register("setGreyscale", "()V", "")]
public void SetGreyscale();
[<Android.Runtime.Register("setGreyscale", "()V", "")>]
member this.SetGreyscale : unit -> unit
屬性

備註

設定一個色彩矩陣,從 RGB 轉換成亮度。 alpha 頻道會是複製品。

的 android.renderscript.ScriptIntrinsicColorMatrix.setGreyscale()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於