Point.Subtraction Method (Microsoft.Xna.Framework)

Subtracts a Point from a Point.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.362)
  • C#
  • VB
  • F#
public static Point Subtraction(
	Point value1, 
	Point value2
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value1
Type: Microsoft.Xna.Framework.Point
Source Point on the left of the sub sign.
value2
Type: Microsoft.Xna.Framework.Point
Source Point on the right of the sub sign.

Return Value

Type: Microsoft.Xna.Framework.Point
Result of the subtraction.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web