# Class cocos.euclid.Vector2

Known Subclasses:
  Point2

## Methods

| __init__(self, x=0, y=0)
| __copy__(self)
| copy(self)
| __repr__(self)
| __eq__(self, other)
| __neq__(self, other)
| __nonzero__(self)
| __len__(self)
| __getitem__(self, key)
| __setitem__(self, key, value)
| __iter__(self)
| __getattr__(self, name)
| __setattr__(self, name, value)
| __add__(self, other)
| __radd__(self, other)
| __iadd__(self, other)
| __sub__(self, other)
| __rsub__(self, other)
| __mul__(self, other)
| __rmul__(self, other)
| __imul__(self, other)
| __div__(self, other)
| __rdiv__(self, other)
| __floordiv__(self, other)
| __rfloordiv__(self, other)
| __truediv__(self, other)
| __rtruediv__(self, other)
| __neg__(self)
| __pos__(self)
| __abs__(self)
| magnitude(self)
| magnitude_squared(self)
| normalize(self)
| normalized(self)
| dot(self, other)
| cross(self)
| reflect(self, normal)
| __getstate__(self)
| __setstate__(self, state)

## Properties

| x
| y