Udostępnij za pośrednictwem


ScriptIntrinsicColorMatrix.SetGreyscale Method

Definition

Set a color matrix to convert from RGB to luminance.

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

Remarks

Set a color matrix to convert from RGB to luminance. The alpha channel will be a copy.

Java documentation for android.renderscript.ScriptIntrinsicColorMatrix.setGreyscale().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to