ColorMatrix.SetRotate(Int32, Single) Method

Definition

Set the rotation on a color axis by the specified values.

[Android.Runtime.Register("setRotate", "(IF)V", "GetSetRotate_IFHandler")]
public virtual void SetRotate (int axis, float degrees);
[<Android.Runtime.Register("setRotate", "(IF)V", "GetSetRotate_IFHandler")>]
abstract member SetRotate : int * single -> unit
override this.SetRotate : int * single -> unit

Parameters

axis
Int32
degrees
Single
Attributes

Remarks

Set the rotation on a color axis by the specified values.

axis=0 correspond to a rotation around the RED color axis=1 correspond to a rotation around the GREEN color axis=2 correspond to a rotation around the BLUE color

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