Set

Set

 * Set** is a graphic method that allows you to draw a dot at the point indicated. It is drawn in the current pen Size and Color.

The syntax is as follows:


 * 1) handle SET(x, y) - Draw a point of the currently set size at x, y

Here is a small program that draws a dot in the default color (black) and the default size (1 pixel.) It then changes the size of the drawing pen to be 5 pixels and draws another dot nearby.

code format="vbnet" 'create a graphic object graphic #g, 800,600

'draw a dot at 1,1
 * 1) g set(1,1)

'change size of pen to 5 pixels
 * 1) g size(5)

'draw a dot at 10,5
 * 1) g set(10,5)

'display graphic object on web page render #g code