Language

ColorMatrix.SetScale(Single, Single, Single, Single) Method

Definition

Set this colormatrix to scale by the specified values.

[Android.Runtime.Register("setScale", "(FFFF)V", "GetSetScale_FFFFHandler")]
public virtual void SetScale(float rScale, float gScale, float bScale, float aScale);
[<Android.Runtime.Register("setScale", "(FFFF)V", "GetSetScale_FFFFHandler")>]
abstract member SetScale : single * single * single * single -> unit
override this.SetScale : single * single * single * single -> unit

Parameters

rScale
Single

The multiplier for the red component.

gScale
Single

The multiplier for the green component.

bScale
Single

The multiplier for the blue component.

aScale
Single

The multiplier for the alpha component.

Attributes

Remarks

Set this colormatrix to scale by the specified values.

Java documentation for android.graphics.ColorMatrix.setScale(float, float, float, 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.

Applies to