ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / Matrix3x2 Structure / TranslationRef Method
When the method completes, contains the created translation matrix.
X-coordinate offset.
Y-coordinate offset.

In This Topic
    TranslationRef Method (Matrix3x2)
    In This Topic
    Creates a translation matrix using the specified offsets.
    Syntax
    'Declaration
     
    Public Shared Sub TranslationRef( _
       ByRef result As Matrix3x2, _
       ByVal x As Single, _
       ByVal y As Single _
    ) 
    public static void TranslationRef( 
       out Matrix3x2 result,
       float x,
       float y
    )

    Parameters

    result
    When the method completes, contains the created translation matrix.
    x
    X-coordinate offset.
    y
    Y-coordinate offset.
    See Also