topCenter property

Vector2 topCenter

The offset to the center of the top edge of this rectangle.

See also Size.topCenter.

Implementation

vm.Vector2 get topCenter => vm.Vector2(left + width / 2.0, top);