Matrix.PreTranslate(Single, Single) Method

Definition

Preconcats the matrix with the specified translation.

[Android.Runtime.Register("preTranslate", "(FF)Z", "GetPreTranslate_FFHandler")]
public virtual bool PreTranslate (float dx, float dy);
[<Android.Runtime.Register("preTranslate", "(FF)Z", "GetPreTranslate_FFHandler")>]
abstract member PreTranslate : single * single -> bool
override this.PreTranslate : single * single -> bool

Parameters

dx
Single
dy
Single

Returns

Attributes

Remarks

Preconcats the matrix with the specified translation. M' = M * T(dx, dy)

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