TftRectangleENCP()

Library Description ›› Shapes ›› Rectangle ››
Parent Previous Next

TftRectangleENCP(wX_Center As Word, wY_Center As Word, wRWidth As Word, wRHeight As Word, wColor As Word)


wX_Center: X-coordinate of the center point

wY_Center: Y-coordinate of the center point

wRWidth: Rectangle width

wRHeight: Rectangle height

wColor: Outline color in 16-bit 565 RGB format


Draws an empty rectangle centered at the specified point with the given width, height, and outline color.


Example:


TftSetUp(0)

TftResetScreen(BLACK)

TftRectangle(10,10,65,50,0,GREEN,2,-1)

TftRectangleENTC(80,10,120,50,RED)

TftRectangleETTCO(130,10,200,50,BLUE,3)

TftRectangleETTCI(210,10,280,50,WHITE,4)

TftRectangleSNTC(10,60,65,100,CYAN)

TftRectangleENCP(110,100,60,50,PINK)

TftRectangleETCPO(180,100,60,50,VIOLET,3)

TftRectangleETCPI(270,100,60,50,BROWN,3) 

TftRectangleSNCP(50,210,60,50,YELLOW)

TftRectangleRC(90,150,140,200,10,0,ORANGE,0,0)

TftRectangleRC(150,150,210,200,15,0,LEMON,2,-1)

TftRectangleRC(220,150,310,220,12,1,DARKGREY,0,0)






Created with the Personal Edition of HelpNDoc: Transform Your Documentation Workflow with HelpNDoc's Intuitive UI