Helper function that subtracts two points and computes
the resulting vector.
Namespace: Terrarium.Sdk.Classes.HelpersAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static Vector Subtract(
Point point1,
Point point2
)
Public Shared Function Subtract (
point1 As Point,
point2 As Point
) As Vector
public:
static Vector^ Subtract(
Point^ point1,
Point^ point2
)
static member Subtract :
point1 : Point *
point2 : Point -> Vector
Parameters
- point1
- Type: Terrarium.Sdk.Classes.HelpersPoint
System.Drawing.Point representing the first point
- point2
- Type: Terrarium.Sdk.Classes.HelpersPoint
System.Drawing.Point representing the point to subtract from the first.
Return Value
Type:
Vector
Vector representing the result of the subtraction.
See Also