TCPDF::SetDrawColorArray( $color, $ret = false )
Defines the color used for all drawing operations (lines, rectangles and cell borders).
Description Description
It can be expressed in RGB, CMYK or GRAY SCALE components. The method can be called before the first page is created and the value is retained from page to page.
See also See also
Parameters Parameters
- $color
-
(Required) (array) Array of colors (1, 3 or 4 values).
- $ret
-
(Optional) (boolean) If true do not send the PDF command.
Default value: false
Return Return
(string) the PDF command
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
3.1.000 | Introduced. |