TftRectangleRC(wX_1 As Word, wY_1 As Word, wX_3 As Word, wY_3 As Word, bRadius As Byte, pSolid As Bit, wColor As Word, bWidth As Byte, sbDirection As SByte)
|
Parameter |
Description |
|
wX_1 |
X-coordinate of Corner 1 |
|
wY_1 |
Y-coordinate of Corner 1 |
|
wX_3 |
X-coordinate of Corner 3 |
|
wY_3 |
Y-coordinate of Corner 3 |
|
bRadius |
Radius for rounded corners |
|
pSolid |
Rectangle fill type: |
|
wColor |
Fill color in 16-bit RGB565 format |
|
bWidth |
Additional border width in pixels: |
sbDirection — Position of the additional border relative to the rectangle:
Draws a rectangle with rounded corners between two opposite vertices, with options for solid fill, additional border width, and direction of the border.
|
TftSetUp(0, 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: Free Web Help generator