x = x coordinate on the screen to draw the dxOval y = y coordinate on the screen to draw the dxOval width = how wide to make the dxOval height = how high to make the dxOval [solid] = 1 to make the dxOval solid |
Use this to draw an dxOval shape at the screen coordinates of your choice. You can make the dxOval solid or hollow. |
; dxOval example Graphics 800,600,16 ; Wait for ESC to hit While Not dxKeyHit(1) ; Set a random dxColor dxColor dxRnd(255),dxRnd(255),dxRnd(255) ; Draw a random dxOval dxOval dxRnd(800),dxRnd(600),dxRnd(100),dxRnd(100),dxRnd(0,1) Wend |