Rect.xMax

public float xMax;

Description 描述

The maximum X coordinate of the rectangle.

Setting this value will change width to preserve xMin.