TftRectangleETCPO()

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

TftRectangleETCPO(wX_Center As Word, wY_Center As Word, wRWidth As Word, wRHeight As Word, wColor As Word, bWidth As Byte)


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

bWidth: Outline thickness in pixels:

• 0: No additional width (1-pixel outline)

• Other values specify the thickness of the outline


Draws an empty rectangle with an outward outline and specified thickness, centered at the given point and defined by the specified width and height.


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 Word Document into a Professional eBook with HelpNDoc