center property

UPoint center

This Bounds central point.

Implementation

UPoint get center => UPoint(
      (min.x + max.x) / 2,
      (min.y + max.y) / 2,
    );