TftCircleN(wX_Center As Word, wY_Center As Word, bRadius As Byte, pSolid As Bit, wColor As Word, bWidth As Byte, sbDirection As SByte)
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 565 RGB format
bWidth: Circle's outline width in pixels:
• 0: No additional width (default, 1 pixel wide)
• Any positive value: Outline width in pixels
sbDirection: Direction for outline width:
• 1: Outward (expands the circle)
• -1: Inward (shrinks the circle)
• Any other value: No additional width (ignored)
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.
Note:
• The bWidth and sbDirection options allow for precise control over the appearance of the circle's outline.
• If no additional width is required, the default behavior is to draw a circle with a 1-pixel outline.
Example:
TftSetUp(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) |
Created with the Personal Edition of HelpNDoc: Effortlessly optimize your documentation website for search engines