Add "ray left", "ray right" options for rectangle objects.

Add 'Ray Left' and 'Ray Right' options for rectangle objects. I think it would be more convenient for users.
Duy anh:
Add 'Ray Left' and 'Ray Right' options for rectangle objects. I think it would be more convenient for users.
Currently it's only possible by manually coding a utility.