Language

Matrix.PostTranslate(Single, Single) Method

Definition

Postconcats the matrix with the specified translation.

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

Parameters

dx
Single

The horizontal translation distance.

dy
Single

The vertical translation distance.

Returns

The Android 16 base implementation returns true after normal completion.

Attributes

Remarks

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

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