DRAW
Command: #draw [color] [options] <type> <square> {text}
The draw commands allows you to draw various types of lines and shapes
on the screen. Common options and types with a brief description are
provided when you type #draw without an argument.
The square arguments should exists of two coordinates defining the
upper left and bottom right corner using row, col, row, col syntax.
The square arguments can be negative, in which case the coordinates
are calculated from the opposite side of the screen. In the case the
screen is 80 columns wide using #draw box 1 60 10 70 will be the
equivalent of #draw box 1 -21 10 -11, but with different screen
widths the boxes would be drawn in different places.
You can prefix the option with a color code or color name to color the
lines and shapes.
You can further prefix the option as following:
ASCII will draw in ASCII mode.
BLANKED will blank the lines and corners.
BOTTOM will draw on the bottom side if possible.
BOXED will draw a box along the square.
BUMPED will precede the draw with an enter.
CALIGN will center text.
CIRCLED will circle the corners.
CONVERT will draw text with meta conversion.
CROSSED will cross the corners.
CURSIVE will draw text with cursive letters.
FAT will draw text with fat letters.
FILLED will fill circles and jewels.
FOREGROUND will draw even if session is not active.
GRID will draw TABLE as a grid.
HORIZONTAL will draw horizontal if possible.
HUGE will draw text in huge letters.
JEWELED will diamond the corners.
JOINTED will draw corners.
LALIGN will left align text.
LEFT will draw on the left side if possible.
NUMBERED will draw numbers instead of lines.
PRUNED will prune the corners.
RALIGN will right align text.
RIGHT will draw on the right side if possible.
ROUNDED will round the corners.
SANSSERIF will draw text with sansserif letters.
SCALED will fit the square to the text size.
SCROLL will draw in the scrolling region.
SHADOWED will shadow HUGE text.
TALIGN will top align text too large to fit.
TEED will tee the corners.
TOP will draw on the top side if possible.
TRACED will trace HUGE text.
TUBED will draw tubes instead of lines.
UALIGN will unwrap and rewrap text.
UNICODE will draw in unicode mode.
VERTICAL will draw vertical if possible.
The following types are available.
[ASCII|UNICODE|HUGE] BOX {[TEXT1]} {[TEXT2]}
will draw a box.
[BOXED|FOREGROUND] BUFFER
will draw the scrollback buffer.
[BLANKED|CIRCLED|CROSSED|JEWELED|ROUNDED|TEED|PRUNED] CORNER
will draw a corner.
[BLANKED|HORIZONTAL|NUMBERED|TUBED|VERTICAL] LINE {[TEXT]}
will draw a line.
[BOXED] MAP
will draw the map
RAIN {<VARIABLE>} {[SPAWN]} {[FADE]} {[LEGEND]}
will draw digital rain.
[JOINTED|TOP|LEFT|BOTTOM|RIGHT] SIDE
will draw one or more sides of a box.
[GRID] TABLE {[LIST1]} {[LIST2]}
will draw a table.
[HUGE] TILE {[TEXT1]} {[TEXT2]}
will draw a tile
All draw types take an optional text argument as long as a valid
square with enough space has been defined. Text is automatically
word wrapped and text formatting can be customized with the
CALIGN, LALIGN, RALIGN, and UALIGN options.
Example: #draw Blue box 1 1 3 20 {Hello world!}
Related: buffer, echo, grep and showme.
|