TCPDF::PolyLine( $p,  $style = '',  $line_style = array(),  $fill_color = array() )

Draws a polygonal line


Description Description


Parameters Parameters

$p

(Required) (array) Points 0 to ($np - 1). Array with values (x0, y0, x1, y1,..., x(np-1), y(np - 1))

$style

(Optional) (string) Style of rendering. See the getPathPaintOperator() function for more information.

Default value: ''

$line_style

(Optional) (array) Line style of polygon. Array with keys among the following: <ul> <li>all: Line style of all lines. Array like for SetLineStyle().</li> <li>0 to ($np - 1): Line style of each line. Array like for SetLineStyle().</li> </ul> If a key is not present or is null, not draws the line. Default value is default line style (empty array).

Default value: array()

$fill_color

(Optional) (array) Fill color. Format: array(GREY) or array(R,G,B) or array(C,M,Y,K) or array(C,M,Y,K,SpotColorName). Default value: default color (empty array).

Default value: array()


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.8.003 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.