translation property

Vec2D get translation

Implementation

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