Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Vector2 Structure / Unary Negation Operator
The vector to negate.

In This Topic
    Unary Negation Operator (Vector2)
    In This Topic
    Reverses the direction of a given vector.
    Syntax
    'Declaration
     
    Public Operator -( _
       ByVal value As Vector2 _
    ) As Vector2
    public Vector2 operator -( 
       Vector2 value
    )

    Parameters

    value
    The vector to negate.

    Return Value

    A vector facing in the opposite direction.
    See Also