TCPDF::SetLineStyle( $style,  $ret = false )

Set line style.


Description Description


Parameters Parameters

$style

(Required) (array) Line style. Array with keys among the following: <ul> <li>width (float): Width of the line in user units.</li> <li>cap (string): Type of cap to put on the line. Possible values are: butt, round, square. The difference between "square" and "butt" is that "square" projects a flat end past the end of the line.</li> <li>join (string): Type of join. Possible values are: miter, round, bevel.</li> <li>dash (mixed): Dash pattern. Is 0 (without dash) or string with series of length values, which are the lengths of the on and off dashes. For example: "2" represents 2 on, 2 off, 2 on, 2 off, ...; "2,1" is 2 on, 1 off, 2 on, 1 off, ...</li> <li>phase (integer): Modifier on the dash pattern which is used to shift the point at which the pattern starts.</li> <li>color (array): Draw color. Format: array(GREY) or array(R,G,B) or array(C,M,Y,K) or array(C,M,Y,K,SpotColorName).</li> </ul>

$ret

(Optional) (boolean) if true do not send the command.

Default value: false


Top ↑

Return Return

(string) the PDF command


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.000 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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