Scilab Function

rubberbox - Rubberband box for rectangle selection

Calling Sequence

[final_rect,btn]=rubberbox(initial_rect)
[final_rect,btn]=rubberbox()

Parameters

Description

rubberbox(initial_rect) tracks a rubberband box in the current graphic window, following the mouse. When a button is clicked rubberbox returns the final rectangles definition in final_Rect. If the argument initial_rect user has to click to fix the initial corner position.

Examples

See Also