round method

UPoint round()

Implementation

UPoint round() {
  double x = this.x.roundToDouble();
  double y = this.y.roundToDouble();
  return UPoint(x, y);
}