TftTriangleNE()

Library Description ›› Shapes ›› Triangle ››
 visits
Parent Previous Next

Syntax

TftTriangleNE(wX_0 As Word, wY_0 As Word, wX_1 As Word, wY_1 As Word, wX_2 As Word, wY_2 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

wColor

Outline color in 16-bit RGB565 format

Overview

Draws an empty triangle defined by three vertices. 


The triangle is outlined with the specified color, but it is not filled.

Example

TftSetUp(0, 0)

TftResetScreen(BLACK)

TftTriangle(10,20,30,70,60,40,0,GREEN, 5,1)

TftTriangleNS(60,70,80,180,110,120,RED)

TftTriangleNE(140,120,260,200,130,100,WHITE)

TftTriangleNE()

Created with the Personal Edition of HelpNDoc: Upgrade your help files and your workflow with HelpNDoc's WinHelp HLP to CHM conversion