Name
DisplayBrush -- display a brush
Synopsis
DisplayBrush(id, x, y[, table])
Function
This function displays the brush specified by id at the coordinates specified by x and y.

If layers are enabled, this command will add a new layer of the type #BRUSH to the layer stack.

New in Hollywood 4.0: This command has an optional table argument now which allows you to specify one or more of the standard tags for all drawing commands. See Standard drawing tags for more information about the standard tags that nearly all Hollywood drawing commands support.

Inputs
id
identifier of the brush to display
x
x offset to display
y
y offset to display
table
optional: table specifying further options (V4.0)
Example
DisplayBrush(1, #CENTER, #CENTER)
Displays brush 1 centered on the screen.


DisplayBrush(1, 0, 0, {Width = 640, Height = 480})
Displays brush 1 scaled to 640x480.

Show TOC