Use this function to set the propertys of the pen used to draw geometric objects on a graphical LCD. The syntax is a follows:
%LCD.Gfx_SetPen(x-position,y-position,color)
The parameter "x-Position" and "y-Position" sets the pen position in the graphical areo of the LCD. You can assign a pen color using the values 0 (white) or 1 (black) as parameter 3.

Example:
%LCD.Gfx_SetPen(0,0,1)
This function sets the pen to upper left postion und assigns the draw color black to it.