Udostępnij za pośrednictwem


Matrix.SetSinCos Method

Definition

Overloads

SetSinCos(Single, Single)

Set the matrix to rotate by the specified sine and cosine values.

SetSinCos(Single, Single, Single, Single)

Set the matrix to rotate by the specified sine and cosine values, with a pivot point at (px, py).

SetSinCos(Single, Single)

Set the matrix to rotate by the specified sine and cosine values.

[Android.Runtime.Register("setSinCos", "(FF)V", "GetSetSinCos_FFHandler")]
public virtual void SetSinCos (float sinValue, float cosValue);
[<Android.Runtime.Register("setSinCos", "(FF)V", "GetSetSinCos_FFHandler")>]
abstract member SetSinCos : single * single -> unit
override this.SetSinCos : single * single -> unit

Parameters

sinValue
Single
cosValue
Single
Attributes

Remarks

Set the matrix to rotate by the specified sine and cosine values.

Java documentation for android.graphics.Matrix.setSinCos(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

SetSinCos(Single, Single, Single, Single)

Set the matrix to rotate by the specified sine and cosine values, with a pivot point at (px, py).

[Android.Runtime.Register("setSinCos", "(FFFF)V", "GetSetSinCos_FFFFHandler")]
public virtual void SetSinCos (float sinValue, float cosValue, float px, float py);
[<Android.Runtime.Register("setSinCos", "(FFFF)V", "GetSetSinCos_FFFFHandler")>]
abstract member SetSinCos : single * single * single * single -> unit
override this.SetSinCos : single * single * single * single -> unit

Parameters

sinValue
Single
cosValue
Single
px
Single
py
Single
Attributes

Remarks

Set the matrix to rotate by the specified sine and cosine values, with a pivot point at (px, py). The pivot point is the coordinate that should remain unchanged by the specified transformation.

Java documentation for android.graphics.Matrix.setSinCos(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