BeSly Software Solutions About yab Demos About us Admin


draw dot -- draw a single dot

DRAW DOT x,y, View$

Draw a single dot at (x,y) on Target$. Target$ has to be either a valid view, bitmap or canvas.

At default the dot is drawn in the current highcolor.

window open 100,100 to 400,400, "Example", "Example"
for i = 0 to 300 step 0.5
        draw dot i, sin(i*50)*50+150, "Example"
next i
sleep 7
window close "Example" 

This program draws a sinus curve with single dots.

Related: draw circle, draw curve, draw ellipse, draw flush, draw line, draw rect, draw set, draw triangle