Point2i.xy constructor

const Point2i.xy(
  1. int x,
  2. int y
)

A point with coordinates given in order x, y.

Implementation

const Point2i.xy(this.x, this.y);