Matrix.SetTranslate(Single, Single) Method

Definition

Set the matrix to translate by (dx, dy).

[Android.Runtime.Register("setTranslate", "(FF)V", "GetSetTranslate_FFHandler")]
public virtual void SetTranslate (float dx, float dy);
[<Android.Runtime.Register("setTranslate", "(FF)V", "GetSetTranslate_FFHandler")>]
abstract member SetTranslate : single * single -> unit
override this.SetTranslate : single * single -> unit

Parameters

dx
Single
dy
Single
Attributes

Remarks

Set the matrix to translate by (dx, dy).

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