Circ

Syntax

Draw:Circ(x, y, radius, color, destination)

Description

Draws an outline of a circle.

Note

destination parameter can either be an Image buffer or the screen.

Example

function main() {
  Var:Number colorYELLOW;
  Konsol:RGB(255,255,0, colorYELLOW)
 
  Screen:Show()
 
  Draw:Circ(50, 50, 20, colorYELLOW, screen)
 
  while (B1 EQ false) {
    Screen:Render()
  }
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net