Name

template->rectangle -- Add a rectangle to a template

Synopsis

bool template->rectangle ( int template, float bottom, float left, float top, float right[, array parameters] )

Description

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.

Examples

See Also

History

This function was added in version 2.2.

Bugs