vector2ToOffset function

Offset vector2ToOffset(
  1. Vector2 vector
)

This method converts the corresponding Vector2 to Offset

Implementation

Offset vector2ToOffset(vector.Vector2 vector) => Offset(vector.x, vector.y);