SetDrawColor

SetDrawColor(int r [, int g, int b])

Description

Defines the color used for all drawing operations (lines, rectangles and cell borders). It can be expressed in RGB components or grayscale. The method can be called before creating the first page and the value is maintained from page to page.

Parameters

See also

SetFillColor, SetTextColor, Line, Rect, Cell, MultiCell