Pixel

Syntax

Draw:Pixel(x, y, radius, color)

Description

Draws a circle.

Note

This function uses a parameter for destination where the pixel will be drawn.

Example

function main() {
  Var:Number colorYELLOW;
  Konsol:RGB(255,255,0, colorYELLOW)
 
  Screen:Show()
 
  Draw:Pixel(50, 50, 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