Instant properties: orect
The instant property orect represents a zero-aligned rectangle of the value stored within a rect operand.
Declaration
rect rect.orect
Discussion
The read access to this property results in a copy of the rectangle arranged at the origin position <0,0>. The size of the original rectangle, in contrast, is taken over without any modification. The original operand is not affected by the operation. Please note, this property is read-only. The write access to this property is not allowed. For example:
var rect r = <100,200,110,220>; // Get the value of the orect property var rect result = r.orect; // result = <0,0,10,20> // Modification is not allowed r.orect = <0,0,100,200>; // Chora compiler error