right property

int get right

The x-coordinate of the right edge of the rectangle.

Implementation

int get right => left + width;