ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Matrix3x2 Structure / Translation Method / Translation(Single,Single) Method
X-coordinate offset.
Y-coordinate offset.

In This Topic
    Translation(Single,Single) Method
    In This Topic
    Creates a translation matrix using the specified offsets.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Translation( _
       ByVal x As System.Single, _
       ByVal y As System.Single _
    ) As Matrix3x2
    public static Matrix3x2 Translation( 
       System.float x,
       System.float y
    )

    Parameters

    x
    X-coordinate offset.
    y
    Y-coordinate offset.

    Return Value

    The created translation matrix.
    See Also