Intrinsic-129 SetFill

Top  Previous  Next

129: SetFill(Handle, Mode, R, G, B);

 

This Intrinsic controls the way all Fill operations work. This applies to drawing with the DrawCircle, DrawElipse, DrawRectangle and PolyLine intrinsics.

 

Handle: This specifies the bitmap or image to which the operation applies.

 

Mode: This determines whether the center of the object will be filled or not. If the value is 0, the center will be filled with the specified color. If the value is 1, the center will be left transparent and only the circular or rectangular outline will be drawn.

 

R,G,B: These specify the color that will be used to fill the object.  EXPL supports special RGB modes that make them compatible with pervious VGA color palettes and versions of XPL0.