Vec2D.fromOffset constructor

Vec2D.fromOffset(
  1. Offset offset
)

Implementation

Vec2D.fromOffset(Offset offset) : this.fromValues(offset.dx, offset.dy);