bitmap
| Description | Properties | Methods | Constants | Examples | See also |
The bitmap object handles bitmap graphics.
| c = pencolor; |
| pencolor = c; |
| w = penwidth; |
| penwidth = w; |
| m = penmode; |
| penmode = m; |
| s = penstyle; |
| penstyle = s; |
| c = brushcolor; |
| brushcolor = c; |
| s = brushstyle; |
| brushstyle = s; |
| c = fontcolor; |
| fontcolor = c; |
| n = fontname; |
| fontname = n; |
| s = fontsize; |
| fontsize = s; |
| s = fontstyle; |
| fontstyle = s; |
| w = width; |
| width = w; |
| h = height; |
| height = h; |
| f = pixelformat; |
| pixelformat = f; |
| t = transparent; |
| transparent = t; |
| c = transparentcolor; |
| transparentcolor = c; |
| m = copymode; |
| copymode = m; |
| c = pixelcolor(x, y); |
| pixelcolor(x, y) = c; |
| moveto(x, y); |
| lineto(x, y); |
| ellipse(x1, y1, x2, y2); |
| rectangle(x1, y1, x2, y2); |
| w = textwidth(text); |
| h = textheight(text); |
| textout(x, y, text); |
| drawto(bitmap = b, x = xx, y = yy); |
| savetofile(filename); |
| loadfromfile(filename); |