ScriptIntrinsicColorMatrix.SetGreyscale Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.