Oval: Difference between revisions
Jump to navigation
Jump to search
imported>Ninjatintin |
imported>Felice Enellen |
||
| (One intermediate revision by one other user not shown) | |||
| Line 22: | Line 22: | ||
* [[Graphics]] | * [[Graphics]] | ||
* [[DrawState|Draw state]] | * [[DrawState|Draw state]] | ||
* [[Ovalfill|<code>ovalfill()</code>]] | |||
* [[Circ|<code>circ()</code>]] | * [[Circ|<code>circ()</code>]] | ||
* [[Circfill|<code>circfill()</code>]] | |||
[[Category:Reference]] | [[Category:Reference]] | ||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 11:00, 29 June 2021
oval( x0, y0, x1, y1, [col] )
- Draws an empty oval shape.
- x0
-
- The x coordinate of the upper left corner.
- y0
-
- The y coordinate of the upper left corner.
- x1
-
- The x coordinate of the lower right corner.
- y1
-
- The y coordinate of the lower right corner.
- col
-
- The color of the oval's border. If omitted, the color from the draw state is used.
Examples
-- draw a red oval border of a wider shape
cls(0)
function _draw()
oval(10,30,100,100,8)
end