right property

num get right

The x-coordinate of the right edge of the rectangle. Calculated as left + width.

Implementation

num get right => left + width;