DrawRect |
Top Previous Next |
Syntax DrawRect(x as INT,y as INT,width as INT,height as INT,col as UINT,opt buffer as POINTER) Description Draws a rectangle onto the buffer. Only the outline of the rectangle is drawn. Parameters x, y - Coordinates of the upper left corner. width, height - Size of the rectangle. col - Color of the rectangle. buffer - Optional. Can be one of BACKBUFFER (default), FRONTBUFFER or SPRITEBUFFER. Return value None Remarks See Also: DrawFilledRect Example usage DrawRect 10, 10, 100, 150, RGB(25,100,100) |