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.HelpersAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static Point Add(
Point point,
Vector vector
)
Public Shared Function Add (
point As Point,
vector As Vector
) As Point
public:
static Point^ Add(
Point^ point,
Vector^ vector
)
static member Add :
point : Point *
vector : Vector -> Point
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