ExtendBrush(id, left, top, right, bottom[, t])
id. You can specify the desired
extension for all sides of the brush by passing a pixel value in the left, top,
right and bottom parameters. A value of 0 means no extension on that side.
Note that the extension values mustn't be negative. If you want to crop a brush,
use the CropBrush() function instead.
The optional table argument can be used to specify the following additional options:
Clear:True if you want
the newly allocated areas of the brush to be transparent as well. If you set this
tag to False, the new areas will be opaque. Defaults to False.
Color:Pen tag instead (see below). Defaults to #BLACK.
Pen:Color tag instead (see above). Defaults to 0.
CreateBrush(1, 200, 200)
ExtendBrush(1, 50, 50, 50, 50, {Color = #RED})
The code above creates a 200x200 pixel brush and then adds a red border
of 50 pixels around it.