TftRectangleENTC()

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

Syntax

TftRectangleENTC(wX_1 As Word, wY_1 As Word, wX_3 As Word, wY_3 As Word, wColor As Word)

Parameters

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

wColor

Outline color in 16-bit RGB565 format

Overview

Draws an empty rectangle defined by two opposite corners with the specified outline color.

Example

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)

TftRectangleENTC()

Created with the Personal Edition of HelpNDoc: Easy EBook and documentation generator