cpdf_setdash
(PHP 4, PHP 5 <= 5.0.5)
cpdf_setdash — Sets dash pattern
Description
bool cpdf_setdash
( int $pdf_document
, float $white
, float $black
)
Sets the dash pattern to the given one. If both parameters are 0, a solid line is set.
Parameters
- pdf_document
-
The document handle, returned by cpdf_open().
- white
-
White units, as a float
- black
-
Black units, as a float
Return values
Palauttaa TRUE onnistuessaan, muutoin FALSE.