Futurebasic/Language/Reference/pen

Description
This statement alters the characteristics of the drawing "pen" in the current output window. The pen characteristics affect the appearance of QuickDraw shapes (lines, ovals, rectangles, etc.) that are subsequently drawn in the window. If you omit any parameter, the corresponding characteristic is not altered. The parameters are interpreted as follows:

¥  and These specify the height and width of the pen in pixels. They must be positive integers. Taller, wider pen sizes produce thicker lines and borders.

¥ If you set this to , subsequent drawing won't be visible on the screen (but it will still be "recorded," if you have turned on picture recording (see the  statement)). If you set to , subsequent drawing will be visible.

¥ This determines how the pen behaves when you draw over existing images in the window. You can specify any of the pattern transfer modes described in "http://developer.apple.com/documentation/macos8/mac8.html">Inside Macintosh"http://developer.apple.com/documentation/mac/QuickDraw/QuickDraw-2.html">Imaging With QuickDraw. Usually you will use one of the following constants:

¥ This determines the pattern that will be used to draw lines, and to frame or fill shapes. Specify a number in the range 0 through 37 to get one of the following system patterns:

Image Was Here

FB Lite behavior
When you use the "FB Lite" runtime,  switches to the Graphics Window before executing.

Note
To change the pen's color, use the  or   statement. To change the appearance of text, use the  statement.