Matrix.

CreateTranslation(double, double) Method

Summary

Creates a translation matrix from the given X and Y components.
Namespace
Avalonia
Containing Type
Matrix

Syntax

public static Matrix CreateTranslation(double xPosition, double yPosition)

Parameters

Name Type Description
xPosition double The X position.
yPosition double The Y position.

Return Value

Type Description
Matrix A translation matrix.