ScriptIntrinsicHistogram.SetDotCoefficients 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 coefficients used for the RGBA to Luminocity calculation.
[Android.Runtime.Register("setDotCoefficients", "(FFFF)V", "")]
public void SetDotCoefficients (float r, float g, float b, float a);
[<Android.Runtime.Register("setDotCoefficients", "(FFFF)V", "")>]
member this.SetDotCoefficients : single * single * single * single -> unit
Parameters
- r
- Single
Red coefficient
- g
- Single
Green coefficient
- b
- Single
Blue coefficient
- a
- Single
Alpha coefficient
- Attributes
Remarks
Set the coefficients used for the RGBA to Luminocity calculation. The default is {0.299f, 0.587f, 0.114f, 0.f}.
Coefficients must be >= 0 and sum to 1.0 or less.
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.