Search
Vector Constructor
See Also
 





Initializes a new instance of the Vector class with the specified X and Y coordinates.

Namespace: MindFusion.Drawing
Package: Vector.js

 Syntax

JavaScript  Copy Code

function Vector (x, y)

 Parameters

x

Number. The X-coordinate of the Vector.

y

Number. The Y-coordinate of the Vector.

 See Also