source: sandbox/2.3-MailArchiver/phpgwapi/inc/fpdf/doc/setdrawcolor.htm @ 6779

Revision 6779, 1.3 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1<HTML>
2<HEAD>
3<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
4<TITLE>SetDrawColor</TITLE>
5<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
6</HEAD>
7<BODY>
8<H2>SetDrawColor</H2>
9<TT>SetDrawColor(<B>int</B> r [, <B>int</B> g, <B>int</B> b])</TT>
10<H4 CLASS='st'>Version</H4>
111.3
12<H4 CLASS='st'>Description</H4>
13Defines the color used for all drawing operations (lines, rectangles and cell borders). It
14can be expressed in RGB components or gray scale. The method can be called before the first
15page is created and the value is retained from page to page.
16<H4 CLASS='st'>Parameters</H4>
17<TT><U>r</U></TT>
18<BLOCKQUOTE>
19If <TT>g</TT> et <TT>b</TT> are given, red component; if not, indicates the gray level.
20Value between 0 and 255.
21</BLOCKQUOTE>
22<TT><U>g</U></TT>
23<BLOCKQUOTE>
24Green component (between 0 and 255).
25</BLOCKQUOTE>
26<TT><U>b</U></TT>
27<BLOCKQUOTE>
28Blue component (between 0 and 255).
29</BLOCKQUOTE>
30<H4 CLASS='st'>See also</H4>
31<A HREF="setfillcolor.htm">SetFillColor()</A>,
32<A HREF="settextcolor.htm">SetTextColor()</A>,
33<A HREF="line.htm">Line()</A>,
34<A HREF="rect.htm">Rect()</A>,
35<A HREF="cell.htm">Cell()</A>,
36<A HREF="multicell.htm">MultiCell()</A>.
37<H6></H6>
38<HR>
39<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
40</BODY>
41</HTML>
Note: See TracBrowser for help on using the repository browser.