template->line -- Add a line to a template
int template->line ( int template, array xpoints, array ypoints[, array parameters] )
This method is used to add a line or string of lines to a template.
template
must be a valid template ID.
xpoints
and ypoints
are arrays of the x and y positions that define the line.
There must be an equal number of x and y points.
The array indices that are used are unimportant except that
the corresponsing x and y indices will define a single point
on the line.
parameters
is an array as described in the parameters documentation.
If omitted, default values are used.
This function was added in version 2.2.