PAINT([X,Y,W,H])


Description :
 


This method Paints the Screen Of the Browser. Use this method to update the screen after drawing routines.

Regional Painting.
Paint(10,10,200,200)

Not Passing x,y,w,h Will Paint the Entire Screen.
EX: Paint()

See Also: Update, SetAutoPaint

All Fields also have a Paint Method for painting them.
[Field].Paint(PaintToScreen)

if PaintToScreen=1 then Image is painted on the Screen.

if PaintToScreen=0 then Image is painted just to the back buffer. This is useful when you need
to paint an image and use getimage to get regions of the image.

Ex: #image1.Paint(1)


Usage :

sub TestSub
      fillrect(10,10,100,100,0)
      paint(10,10,100,100)
endsub