Click or drag to resize
VectorSubtract Method

Helper function that subtracts two points and computes the resulting vector.

Namespace: Terrarium.Sdk.Classes.Helpers
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static Vector Subtract(
	Point point1,
	Point point2
)

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