^image.bar(x0;y0;x1;y1;rectangle color)
The method draws on an image a rectangle with specified coordinates and filled with specified color.
Example
$square[^image::create(100;100;0x000000)]
^square.bar(5;40;95;60;0xFFFFFF)
$response:body[^square.gif[]]
Browser will display a black 100x100 square with a white 90x20 rectangle, drawn according to the given coordinates.