add_rectangle
add_rectangle -colors_color-rect {f_xlof_ylof_xhif_yhi} [ -fillColors_color] [ -lineWidthi_pixel] [ -opacityi_opacity] [ -texts_text]
Description
Adds a rectangle annotation to the active window.
Arguments
|
Specifies the color for the rectangle as a character string (such as |
|
|
Specifies the color for the interior of the rectangle as a character string (such as |
|
|
Specifies the opacity for rectangle fill. Valid values are 0 (transparent) through 255 (opaque). If |
|
|
Specifies text to fit in the rectangle. If this argument is given, |
|
Examples
The following example adds a rectangle annotation, colored blue, with enclosed text of vm1.
add_rectangle -color blue -lineWidth 2 -rect {120.1 132.3 123.6 134.1} -text vm1
Related Topics
Return to top