Rect.right Property

Gets or sets the right coordinate of the rectangle by modifying the width. If the new value is less than left, the rectangle is normalized by adjusting left and making width positive.
 

Property Value

Type: Number