center property

Vec2 get center

Implementation

Vec2 get center => Vec2((left + right) * 0.5, (top + bottom) * 0.5);