TftQuadS()

Library Description ›› Shapes ›› Quad ››
Parent Previous Next

TftQuadS(wX_0 As Word, wY_0 As Word, wX_1 As Word, wY_1 As Word, wX_2 As Word, wY_2 As Word, wX_3 As Word, wY_3 As Word, wColor As Word)


wX_0: X-coordinate of Corner 0

wY_0: Y-coordinate of Corner 0

wX_1: X-coordinate of Corner 1

wY_1: Y-coordinate of Corner 1

wX_2: X-coordinate of Corner 2

wY_2: Y-coordinate of Corner 2

wX_3: X-coordinate of Corner 3

wY_3: Y-coordinate of Corner 3

wColor: Fill color in 16-bit 565 RGB format


Draws a solid-filled quadrangle (4-sided polygon) defined by four vertices. 


The vertices are connected sequentially to form the shape.


Note: The order in which the vertices are entered is important. The quadrangle is formed by connecting the vertices in the specified order.


Example:


TftSetUp(0)

TftResetScreen(BLACK)

TftQuadS(100,50,170,200,200,60,130,20,RED) 






Created with the Personal Edition of HelpNDoc: Transform your help documentation into a stunning website