Draw_string, 36 draw string, Draw string – Achronix ACE Version 5.0 User Manual
Page 331
draw string
Chapter 5. Tcl Command Reference
[-thickness
<
arg
>
]
Optional
The optional -thickness
<
pixels> option specifies the
rectangle thickness in pixels. If
this option is not used, a
thickness of 1 will be used.
[-fill]
Optional
The optional -fill option specifies
whether the rectangle should be
filled with color or not. If this
option is not used, the rectangle
will be hollow.
draw string
draw string
<
x
> <
y
> <
string
>
[-layer
<
arg
>
] [-id
<
arg
>
] [-rgb
<
args
>
]
[-batch]
This command allows you to draw a custom string on the GUIs layout view.
Argument
Required/Optional
Description
<
x
>
Required
The required <x> argument
specifies the x coordinate for the
string.
<
y
>
Required
The required <y> argument
specifies the y coordinate for the
string.
<
string
>
Required
The required <string>
argument specifies the string
text.
[-layer
<
arg
>
]
Optional
The optional -layer <layer>
option specifies the drawing
layer for the string. If this option
is not used, the top layer (5) will
be used. Using a value of 0 will
draw on the background.
[-id
<
arg
>
]
Optional
The optional -id <id> option
specifies a unique id for the
string. If this option is not used,
a unique id will be automatically
generated and returned by the
command.
[-rgb
<
args
>
]
Optional
The optional -rgb <rgb> option
specifies the rgb color value for
the string as a 3 element list of
integers red green blue. If this
option is not used, the color blue
will be used.
319
UG001 Rev. 5.0 - 5th December 2012