center property
Vec2
center
Integer center point of the rectangle
Implementation
Vec2 get center => Vec2((left + right) ~/ 2, (top + bottom) ~/ 2);
Integer center point of the rectangle
Vec2 get center => Vec2((left + right) ~/ 2, (top + bottom) ~/ 2);