TftRectangleRCME()

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

Syntax

TftRectangleRCME(wX_1 As Word, wY_1 As Word, wX_3 As Word, wY_3 As Word, bRadius As Byte, bMask As Byte, 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

bRadius

Radius for rounded corners

bMask

corner bit mask - bit0=TopLeft, bit1=TopRight, bit2=BottomRight, bit3=BottomLeft

Overview

                                     (1 = that corner is rounded, 0 = that corner stays sharp)

wColor — Fill color in 16-bit RGB565 format


Draws an empty rectangle with rounded corners between two opposite vertices, with independently selectable rounded corners.

Example

TftSetUp(0, 0)

TftResetScreen(BLACK)

TftRectangleRCME(20,30,60,50,8,%00000101,RED)

TftRectangleRCMS(120,130,160,150,8,%00001010,GREEN)

TftRectangleRCME()

Created with the Personal Edition of HelpNDoc: Say Goodbye to Documentation Headaches with a Help Authoring Tool