Table of Contents

Method CreateTranslation

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

CreateTranslation(float, float)

Creates a TransformMatrix with the specified translation vector.

public static TransformMatrix CreateTranslation(float offsetX, float offsetY)

Parameters

offsetX float

The x value by which to translate this TransformMatrix.

offsetY float

The y value by which to translate this TransformMatrix.

Returns

TransformMatrix