Help Contents / Graphics / Pen and Background Control / setFC

setFloodColor acolor
setFC acolor

sets the flood color to the given acolor, which must be a integer, or a rgblist (consisting of three items, red, green, and blue, which must be in the range 0..1), or must be one of the color names in the wxWidgets color database. Color 0 is always black; color 7 is always white. Other colors may or may not be consistent between machines. See also setPC. 

Example: 

	setfc rgb 1 0 1 
	fbox 


previous: setPenColor	next: setMaterialAmbient
