SKMatrix.SetScaleTranslate(Single, Single, Single, Single) Method

Definition

Initializes the matrix to be scale + post-translate.

public void SetScaleTranslate (float sx, float sy, float tx, float ty);

Parameters

sx
Single

The scaling in the x-direction.

sy
Single

The scaling in the y-direction.

tx
Single

The translation in the x-direction.

ty
Single

The translation in the y-direction.

Applies to