Svg\Surface\CPdf::setLineStyle
this sets the line drawing style.
width, is the thickness of the line in user units cap is the type of cap to put on the line, values can be 'butt','round','square' where the diffference between 'square' and 'butt' is that 'square' projects a flat end past the end of the line. join can be 'miter', 'round', 'bevel' dash is an array which sets the dash pattern, is a series of length values, which are the lengths of the on and off dashes. (2) represents 2 on, 2 off, 2 on , 2 off ... (2,1) is 2 on, 1 off, 2 on, 1 off.. etc phase is a modifier on the dash pattern which is used to shift the point at which the pattern starts.
Signature
public function setLineStyle([integer
$width = 1,
[string
$cap = '',
[string
$join = '',
[string
$dash = '',
[integer
$phase = 0]]]]] )
Parameters
$width
— integer$cap
— string$join
— string$dash
— string$phase
— integer