center property

Point<num> center

Returns the center of the Rectangle.

Implementation

math.Point<num> get center =>
    math.Point<num>(left + width / 2, top + height / 2);