DrawPolyline
DrawPolyline -- draws a polyline using the current stroke, stroke width, and fill color or texture
Description
void DrawPolyline( DrawingWand drw_wnd, array x_y_points_array )
Draws a polyline using the current stroke, stroke width, and fill color or texture of the DrawingWand, through a set of points on the image. The function accepts an EVEN length array, containing a MINIMUM of 4 numbers, which represent (x, y) points on an image's co-odinate system. Examples: DrawPolyline( $drw_wnd, array( $x1, $y1, $x2, $y2 ) ); DrawPolyline( $drw_wnd, array( $x1, $y1, $x2, $y2, $x3, $y3, $x4, $y4, $x5, $y5 ) );
A description of each parameter follows:
| drw_wnd | A DrawingWand resource |
| x_y_points_array | An EVEN length array of numbers representing x and y ordinates |