SKMatrix.MakeTranslation(Single, Single) Method

Definition

Creates a translation matrix.

public static SkiaSharp.SKMatrix MakeTranslation (float dx, float dy);

Parameters

dx
Single

The translation/offset in the x-direction.

dy
Single

The translation/offset in the y-direction.

Returns

Returns the new matrix.

Applies to