Mikroelektronika MIKROE-724 データシート

ページ / 726
598
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
TFT_Set_Pen
Prototype
sub procedure TFT_Set_Pen(dim pen_color as word, dim pen_width as byte)
Returns
Nothing.
Description Sets color and thickness parameter for drawing line, circle and rectangle elements.
Parameters: 
pen_color
: Sets color. 
pen_width
: sets thickness. 
Requires
TFT module needs to be initialized. See the TFT_Init routine.
Example
TFT_Set_Pen(CL_BLACK, 10)
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