translation property

Vec2D translation
inherited

Implementation

Vec2D get translation => Vec2D.fromValues(x, y);
void translation=(Vec2D pos)

Sets the position of the Node

Implementation

set translation(Vec2D pos) {
  x = pos.x;
  y = pos.y;
}