index    previous    next

RECTANGLES

A rectangle is aware of being grabbed from its inside or its outside.

A rectangle is resized if grabbed from the inside, or moved if grabbed from the outside. When being moved, the rectangles size and shape will remain constant while the whole rectangle will move to follow the mouse.

It is possible to resize a rectangle in either one or two planes.

Grabbing the rectangle at one of its corners from the inside, causes the rectangle to be resized in both the horizontal and vertical planes.

Grabbing the rectangle at the centre of one of its vertical lines from the inside, allows the rectangle to be resized only in the horizontal plane.

Grabbing the rectangle at the centre of one of its horizontal lines from the inside, allows the rectangle to be resized only in the vertical plane.

To grab the rectangle from the inside, approach the perimeter from inside the rectangle. To grab it from the outside, approach the perimeter from outside the rectangle.


 
grabbing the rectangle from the outside moves the whole rectangle

 
grabbing the rectangle at a corner from the inside resizes the rectangle

 
grabbing the rectangle at the top or bottom edge from the inside resizes the rectangle vertically

 
grabbing the rectangle at the left or right edge from the inside resizes the rectangle horizontally