FutureBasic Logo

<<    Index    >> FutureBasic

oval   statement



Syntax
oval [ fill ] rect [ , fillColor ]

Requires
macOS 10.11+

Description
Draws an oval in the specified rectangle. The oval's frame is drawn using the line style for the current output window.

Parameters
Parameter
Description
fill When this optional keyword is used, the oval is filled with the fill color specified in the fillColor parameter, or the current fill color for the output window.
rect The enclosing rectangle. This can be specified in either of two ways:
(i) (x,y,w,h) where x,y are the origin and w,h the size.
(ii) A CGRect value.
fillColor Optional. If the fill keyword is used, the oval is filled with the specified color. This parameter is a ColorRef (NSColor).
 
See also
cls; line; pen; rect