TftCircleN()

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

Syntax

TftCircleN(wX_Center As Word, wY_Center As Word, bRadius As Word, pSolid As Bit, wColor As Word, bWidth As Byte, sbDirection As SByte)

Parameters

Parameter

Description

wX_Center

X-coordinate of the circle's center

wY_Center

Y-coordinate of the circle's center

bRadius

Radius of the circle (in pixels)

pSolid

Circle fill type:
0: No fill (outline only)
1: Solid fill

wColor

Circle color in 16-bit RGB565 format

bWidth

Circle's outline width in pixels:
0: No additional width (default, 1 pixel wide)

Overview

sbDirection — Direction for outline width:

Draws a circle with customizable outline width and fill. 


The fill can either be solid or absent (outline only), and the outline width can be adjusted both inward or outward, depending on the desired visual effect.

Notes

Example

TftSetUp(0, 0)

TftResetScreen(BLACK)

TftCircleNE(40,40,30,RED)

TftCircleNS(110,40,30,GREEN)

TftCircleN(180,40,30,0,BLUE,4,-1)

TftCircleQE(40,120,30,RED)

TftCircleQS(110,120,30,GREEN)

TftCircleQ(180,120,30,0,BLUE,4,-1)

TftCircleN()

Created with the Personal Edition of HelpNDoc: Elevate Your Help Documentation with a Help Authoring Tool