Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

add_arrow

add_arrow 
-color s_color 
-p1 {x1 y1} 
-p2 {x2 y2}
[ -end1 arrow ] 
[ -end2 arrow ] 
[ -lineWidth width ] 

Description

The add_arrow command adds an arrow annotation to the active window.

Arguments

-color s_color

Specifies the color for the arrow as the color name (such as blue) or the hexadecimal representation of the color preceded by a pound sign (#). A list of colors and their hexadecimal equivalents can be found on http://eies.njit.edu/~walsh/rgb.html.

-end1 arrow

Specifies whether the first endpoint has an arrowhead. If this argument is omitted, no arrowhead is added.

-end2 arrow

Specifies whether the second endpoint has an arrowhead. If this argument is omitted, no arrowhead is added.

-lineWidth i_width

Specifies the width in pixels of the line and arrowheads (if specified).

Default: 1

-p1 {f_x f_y}

Specifies the x- and y-coordinates for the first endpoint, as two space-delimited real numbers, enclosed in braces.

-p2 {f_x f_y}

Specifies the x- and y-coordinates for the second endpoint, as two space-delimited real numbers, enclosed in braces.

Examples

The following example adds an arrow annotation, colored red, with an arrowhead at the second endpoint.

add_arrow -color red -lineWidth 2 -p1 {132.1 170} -p2 {134.5 171.2} -end2 arrow

Related Topics

Collaborate Commands

arrow


Return to top
 ⠀
X