Rect.xMax
var xMax: float;
Description

Right coordinate of the rectangle.

Changing this value will preserve left side of rectangle (so width will change as well).