update
This commit is contained in:
49
fpdf/doc/rect.htm
Normal file
49
fpdf/doc/rect.htm
Normal file
@ -0,0 +1,49 @@
|
||||
<!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>Description</h2>
|
||||
Dessine un rectangle <20> partir de son coin sup<75>rieur gauche. Il peut <20>tre trac<61>, rempli ou les
|
||||
deux <20> la fois.
|
||||
<h2>Param<EFBFBD>tres</h2>
|
||||
<dl class="param">
|
||||
<dt><code>x</code></dt>
|
||||
<dd>
|
||||
Abscisse du coin sup<75>rieur gauche.
|
||||
</dd>
|
||||
<dt><code>y</code></dt>
|
||||
<dd>
|
||||
Ordonn<EFBFBD>e du coin sup<75>rieur gauche.
|
||||
</dd>
|
||||
<dt><code>w</code></dt>
|
||||
<dd>
|
||||
Largeur.
|
||||
</dd>
|
||||
<dt><code>h</code></dt>
|
||||
<dd>
|
||||
Hauteur.
|
||||
</dd>
|
||||
<dt><code>style</code></dt>
|
||||
<dd>
|
||||
Mani<EFBFBD>re de tracer le rectangle. Les valeurs possibles sont :
|
||||
<ul>
|
||||
<li><code>D</code> ou cha<68>ne vide : contour (draw). C'est la valeur par d<>faut.
|
||||
<li><code>F</code> : remplissage (fill)
|
||||
<li><code>DF</code> ou <code>FD</code> : contour et remplissage
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2>Voir</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">Index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user