forked from reingart/pyfpdf
-
Notifications
You must be signed in to change notification settings - Fork 1
SetTextColor
Google Code Exporter edited this page Mar 18, 2015
·
1 revision
fpdf.set_text_color(r:int [, g:int, b:int])
Defines the color used for text. 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.
r:
If g et 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).