TransformationMatrixCreateTranslation(Vector2) Method

Creates a translation matrix from the specified offset.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public static TransformationMatrix CreateTranslation(
	Vector2 offset
)

Parameters

offset  Vector2
The distance to translate.

Return Value

TransformationMatrix
The translation matrix.

See Also