| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>SetDrawColor</title>
- <link type="text/css" rel="stylesheet" href="../fpdf.css">
- </head>
- <body>
- <h1>SetDrawColor</h1>
- <code>SetDrawColor(<b>int</b> r [, <b>int</b> g, <b>int</b> b])</code>
- <h2>Descripción</h2>
- Define el color usado para las operaciones de graficación (lineas, rectangulos, y bordes de celdas ). Este puede ser
- expresado en componentes RGB o en escala de grises. El método puede ser invocado antes de que la primera página sea creada
- y el valor sea conservado de página a página.
- <h2>Parámetros</h2>
- <dl class="param">
- <dt><code>r</code></dt>
- <dd>
- Si <code>g</code> y <code>b</code> son suministrados, componente rojo; si no, si no indica nivel de grises.
- Valores entre 0 y 255.
- </dd>
- <dt><code>g</code></dt>
- <dd>
- Componente verde (entre 0 y 255)
- </dd>
- <dt><code>b</code></dt>
- <dd>
- Componente azul (entre 0 y 255)
- </dd>
- </dl>
- <h2>Vea además</h2>
- <a href="setfillcolor.htm">SetFillColor</a>,
- <a href="settextcolor.htm">SetTextColor</a>,
- <a href="line.htm">Line</a>,
- <a href="rect.htm">Rect</a>,
- <a href="cell.htm">Cell</a>,
- <a href="multicell.htm">MultiCell</a>
- <hr style="margin-top:1.5em">
- <div style="text-align:center"><a href="index.htm">Inicio</a></div>
- </body>
- </html>
|