Table of Contents

Method CreateTranslation

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

CreateTranslation(double, double)

Creates a TransformMatrix with the specified translation vector.

public static TransformMatrix CreateTranslation(double offsetX, double offsetY)

Parameters

offsetX double

The x value by which to translate this TransformMatrix.

offsetY double

The y value by which to translate this TransformMatrix.

Returns

TransformMatrix