49 lines
1.3 KiB
HTML
49 lines
1.3 KiB
HTML
<!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>Rect</title>
|
|
<link type="text/css" rel="stylesheet" href="../fpdf.css">
|
|
</head>
|
|
<body>
|
|
<h1>Rect</h1>
|
|
<code>Rect(<b>float</b> x, <b>float</b> y, <b>float</b> w, <b>float</b> h [, <b>string</b> style])</code>
|
|
<h2>Descripción</h2>
|
|
Produce un rectángulo. Este puede ser dibujado (solamente el borde), relleno (sin borde) o ambos.
|
|
<h2>Parámetros</h2>
|
|
<dl class="param">
|
|
<dt><code>x</code></dt>
|
|
<dd>
|
|
Abscisa del la esquina superior izquierda.
|
|
</dd>
|
|
<dt><code>y</code></dt>
|
|
<dd>
|
|
Ordenada de la esquina superior izquierda.
|
|
</dd>
|
|
<dt><code>w</code></dt>
|
|
<dd>
|
|
Ancho.
|
|
</dd>
|
|
<dt><code>h</code></dt>
|
|
<dd>
|
|
Alto.
|
|
</dd>
|
|
<dt><code>style</code></dt>
|
|
<dd>
|
|
Estilo de interpretación. Los posibles valores son:
|
|
<ul>
|
|
<li><code>D</code> o una cadena vacia: draw. Este es el valor por defecto.
|
|
<li><code>F</code>: fill
|
|
<li><code>DF</code> o <code>FD</code>: draw and fill
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
<h2>Vea además</h2>
|
|
<a href="setlinewidth.htm">SetLineWidth</a>,
|
|
<a href="setdrawcolor.htm">SetDrawColor</a>,
|
|
<a href="setfillcolor.htm">SetFillColor</a>
|
|
<hr style="margin-top:1.5em">
|
|
<div style="text-align:center"><a href="index.htm">Inicio</a></div>
|
|
</body>
|
|
</html>
|