Skip to content
Fery Wardiyanto edited this page Feb 10, 2015 · 1 revision

SetFillColor

SetFillColor(<b>int</b> r [, <b>int</b> g, <b>int</b> b])

Description

Defines the color used for all filling operations (filled rectangles and cell backgrounds). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.

Parameters

`r`
If `g` and `b` are given, red component; if not, indicates the gray level. Value between 0 and 255.
`g`
Green component (between 0 and 255).
`b`
Blue component (between 0 and 255).
## See also SetDrawColor(), SetTextColor(), Rect(), Cell(), MultiCell().
Clone this wiki locally