Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 4 - Color QuickDraw / Color QuickDraw Reference
Color QuickDraw Routines / Drawing With Color QuickDraw Colors


HiliteColor

Use the HiliteColor procedure to change the highlight color for the current color graphics port.

PROCEDURE HiliteColor (color: RGBColor);
color
An RGBColor record that defines the highlight color.
DESCRIPTION
The HiliteColor procedure changes the highlight color for the current color graphics port. All drawing operations that use the hilite transfer mode use the highlight color. When a color graphics port is created, its highlight color is initialized from the global variable HiliteRGB. (This information is stored in the rgbHiliteColor field of the GrafVars record, but you should never need to refer to it directly.)

If the current graphics port is a basic graphics port, HiliteColor has no effect.

SEE ALSO
The hilite mode is described in "Highlighting" beginning on page 4-33.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996