template->rectangle -- Add a rectangle to a template
bool template->rectangle ( int template, float bottom, float left, float top, float right[, array parameters] )
This method is used to add a rectangle to a template.
template
must be a valid template ID.
bottom
, left
, top
, and right
specify the dimensions of the rectangle.
parameters
is an array as described in the parameters documentation.
If omitted, default values are used.
This function was added in version 2.2.