ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Vector2 Structure / Vector2 Constructor / Vector2 Constructor(Single,Single)
Initial value for the X component of the vector.
Initial value for the Y component of the vector.

In This Topic
    Vector2 Constructor(Single,Single)
    In This Topic
    Initializes a new instance of the Vector2 struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As System.Single, _
       ByVal y As System.Single _
    )
    public Vector2( 
       System.float x,
       System.float y
    )

    Parameters

    x
    Initial value for the X component of the vector.
    y
    Initial value for the Y component of the vector.
    See Also