isEmpty property

bool get isEmpty

Whether this rectangle has no area.

Implementation

bool get isEmpty => maxX <= minX || maxY <= minY;