plfcolor

change the filling color

parametertypeunitsdescription
red,green,bluefloat--rgb components (0..1)
returns:void

Description

plfcolor changes the color for subsequent filling operations. The parameters give the red, green and blue fraction, such that black is represented by 0,0,0 and white by 1,1,1. For many colors, macros have been predefined, thus permitting the replacement of the three parameters with one predefined constant. Thus white may also be set with plfcolor(White) and black with plfcolor(Black). See plcolor for a table of recognised color names.

A special case is the color NoColor: after plfcolor(NoColor) filling is inhibited. This is the default case as plinit calls plfcolor(NoColor).

See also

plcolor, plrect, plrectm

Examples

See also

plfill