Drawtext » History » Version 4
Per Amundsen, 01/04/2019 09:55 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | */drawtext -hnrpboc <@window> <color> [color] [fontname fontsize] <x y [w h]> <text>* |
||
4 | |||
5 | Draws text at the specified co-ordinates. |
||
6 | |||
7 | *Switches* |
||
8 | |||
9 | -p - Processes and interprets control codes in the text. |
||
10 | -b - Indicates that you have specified the second color parameter as the background color for the text. |
||
11 | -o - Indicates specified font should be in bold. |
||
12 | -c - Indicates that you have specified the [w h] values as the rectangle in which text should be printed. Text will be clipped if it extends beyond this rectangle. |
||
13 | -h - Highlights the windows icon if it is minimized. |
||
14 | -n - Prevents the display from being updated immediately. |
||
15 | 4 | Per Amundsen | -r - Indicates that the colors are in [[$rgb]] format. |
16 | 2 | Per Amundsen | |
17 | *Parameters* |
||
18 | |||
19 | <@window> - Name of the window to draw. |
||
20 | <color> - The textcolor. |
||
21 | [color] - The background color, if -b has been specified. |
||
22 | [fontname fontsize] - The name of the font and the size of the font. |
||
23 | <x y [w h]> - The coordinate of the text. |
||
24 | 3 | Mr. BS | <text> - The text to draw. |