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

add_text

add_text 
-balloonColor s_color 
-font s_font 
-halign s_hPos 
-tailLoc {f_x f_y} 
-text s_text 
-textColor s_color 
-textLoc {f_x f_y} 
-valign s_vPos

Description

The add_text command adds a text annotation to the active window.

Arguments

-ballooncolor s_color

Specifies the color for the balloon 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.

-font s_font

Specifies the font type as Arial, Courier, or Times Roman.

-halign s_hPos

Specifies the horizontal alignment for the text as left, right, or hcenter.

-tailLoc {f_x f_y}

Specifies the x- and y-coordinates for the end of the balloon tail as two space-delimited real numbers enclosed in braces.

-text s_text

Specifies the text.

-textcolor s_color

Specifies the color for the text as the color name (such as blue) or the hexadecimal representation of the color preceded by a pound sign (#).

-textLoc {f_x f_y}

Specifies the x- and y-coordinates for the end of the balloon tail as two space-delimited real numbers enclosed in braces.

-valign s_vPos

Specifies the vertical alignment for the text as top, bottom, or vcenter.

Examples

The following example adds a text annotation.

add_text -balloonColor Yellow -font Arial -halign left -tailLoc { 1374.54 1993.79 } -text "look here" -textColor #55ffff -textLoc { 1411.46 2167.85 } -valign bottom

Related Topics

Collaborate Commands

add_arrow

add_rectangle


Return to top
 ⠀
X