ColorMatrix.SetSaturation(Single) 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 the matrix to affect the saturation of colors.
[Android.Runtime.Register("setSaturation", "(F)V", "GetSetSaturation_FHandler")]
public virtual void SetSaturation (float sat);
[<Android.Runtime.Register("setSaturation", "(F)V", "GetSetSaturation_FHandler")>]
abstract member SetSaturation : single -> unit
override this.SetSaturation : single -> unit
Parameters
- sat
- Single
A value of 0 maps the color to gray-scale. 1 is identity.
- Attributes
Remarks
Set the matrix to affect the saturation of colors.
Java documentation for android.graphics.ColorMatrix.setSaturation(float)
.
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.