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


Top ↑

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


Top ↑

Return Return

(string) the PDF command


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.000 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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