TftQuadS()

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

Syntax

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)

Parameters

Parameter

Description

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 RGB565 format

Overview

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, 0)

TftResetScreen(BLACK)

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

TftQuadS()

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software