Important: The information in this document is obsolete and should not be used for new development.
BackColorTo change a basic graphics port's background color, use the
PROCEDURE BackColor (color: LongInt);
- One of eight color values. You can use the constants described for the
ForeColorprocedure in the previous section.
BackColorprocedure sets the background color for the current graphics port to the color that you specify in the
colorparameter. When you draw with the
srcCopytransfer modes, for example, white pixels are drawn in the color you specify with
BackColorprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.
SEE ALSOAll nonwhite colors appear as black on black-and-white screens. Before you use
BackColor, you can use the
DeviceLoopprocedure, which is described in the chapter "Graphics Devices," to determine the color characteristics of the current screen.
In System 7, you may instead use the Color QuickDraw procedure
RGBBackColor, which is described in the chapter "Color QuickDraw."