TftStar(wX_Center As Word, wY_Center As Word, bOuterRadius As Byte, bInnerRadius As Byte, bPoints As Byte, bStartAngle As Byte, pSolid As Bit, wColor As Word)
|
Parameter |
Description |
|
wX_Center |
star center X-coordinate |
|
wY_Center |
star center Y-coordinate |
|
bOuterRadius |
distance from center to each outer point |
|
bInnerRadius |
distance from center to each inner valley |
|
bPoints |
number of points on the star (e.g. 5 for a 5-pointed star) |
|
bStartAngle |
starting angle for the first outer point, in degrees |
|
pSolid |
0 = outline only, 1 = filled |
|
wColor |
16-bit RGB565 color |
Draws a star shape with the given parameters
|
TftSetUp(0, 0) TftResetScreen(BLACK) TftStar(50,50,40,10,5,90,0,RED) TftStar(150,50,40,10,5,45,1,GREEN) TftStar(250,50,40,10,7,10,1,BLUE) TftStar(80,150,60,30,9,80,0,PURPLE) TftStar(190,150,60,20,7,10,1,BROWN) |
|
Created with the Personal Edition of HelpNDoc: Upgrade Your Documentation Process with a Help Authoring Tool