Click or drag to resize

MatrixFromTranslation Method (Single, Single)

Creates a new matrix with a translation

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static IMatrix FromTranslation(
	float distanceX,
	float distanceY
)

Parameters

distanceX
Type: SystemSingle
Distance to translate along the x axis
distanceY
Type: SystemSingle
Distance to translate along the y axis

Return Value

Type: IMatrix
A new translation matrix
See Also