Skip to content
Armen edited this page Apr 29, 2012 · 15 revisions

Defined in types.js

Summary

a2d.Vector(x, y)
Vector

Method Summary

a2d.Vector

clone
Returns a Vector object with the same values.

Property Summary

**[X](#X)** the X value
**[Y](#Y)** the Y value

Detail

a2d.Vector(x, y)
Vector

Parameters:

{number} x
{number} y


Method Detail

{a2d.Vector} clone
Returns a Vector object with the same values.

Returns:

{a2d.Vector}
a clone of this Vector object


Property Detail

X
the X value

-- Y
the Y value


Clone this wiki locally