start => draw

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()
  }
}


http://konsolscript.sourceforge.net © 2005-2008 Mj Mendoza IV      
http://www.sourceforge.net