TransformationMatrixCreateTranslation(Vector2) Method
Creates a translation matrix from the specified offset.
Namespace: KGySoft.Drawing.ShapesAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static TransformationMatrix CreateTranslation(
Vector2 offset
)
Public Shared Function CreateTranslation (
offset As Vector2
) As TransformationMatrix
public:
static TransformationMatrix CreateTranslation(
Vector2 offset
)
static member CreateTranslation :
offset : Vector2 -> TransformationMatrix
- offset Vector2
- The distance to translate.
TransformationMatrixThe translation matrix.