Click or drag to resize
VectorAdd Method

Helper function that adds the components values of a point to an existing vector and returns the result as a new Point.

Namespace: Terrarium.Sdk.Classes.Helpers
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static Point Add(
	Point point,
	Vector vector
)

Parameters

point
Type: Terrarium.Sdk.Classes.HelpersPoint
System.Drawing.Point containing x,y components to add to vector.
vector
Type: Terrarium.Sdk.Classes.HelpersVector
Vector containing x,y components to be added to point

Return Value

Type: Point
System.Drawing.Point of the combined x,y components of vector and point.
See Also