Mikroelektronika MIKROE-442 Datenbogen
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
599
TFT_Set_Brush
Prototype
sub procedure TFT_Set_Brush(dim brush_enabled as byte, dim brush_color as
word, dim gradient_enabled, gradient_orientation as byte, dim gradient_
color_from, gradient_color_to as word)
Returns
Nothing.
Description Sets color and gradient which will be used to fill circles or rectangles.
Parameters:
-
brush_enabled
: enable brush fill.
-
brush_color
: set brush fill color.
Value
Description
CL_AQUA
Aqua color
CL_BLACK
Black color
CL_BLUE
Blue color
CL_FUCHSIA
Fuchsia color
CL_GRAY
Gray color
CL_GREEN
Green color
CL_LIME
Lime color
CL_MAROON
Maroon color
CL_NAVY
Navy color
CL_OLIVE
Olive color
CL_PURPLE
Purple color
CL_RED
Red color
CL_SILVER
Silver color
CL_TEAL
Teal color
CL_WHITE
White color
CL_YELLOW
Yellow color
Value
Description
1
Enable brush fill.
0
Disable brush fill.