source: trunk/client/inc/hpdf/_fpdf/doc/rect.htm@ 2

Last change on this file since 2 was 2, checked in by root, 15 years ago

importo il progetto

File size: 1.2 KB
RevLine 
[2]1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5<title>Rect</title>
6<link type="text/css" rel="stylesheet" href="../fpdf.css">
7</head>
8<body>
9<h1>Rect</h1>
10<code>Rect(<b>float</b> x, <b>float</b> y, <b>float</b> w, <b>float</b> h [, <b>string</b> style])</code>
11<h2>Description</h2>
12Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.
13<h2>Parameters</h2>
14<dl class="param">
15<dt><code>x</code></dt>
16<dd>
17Abscissa of upper-left corner.
18</dd>
19<dt><code>y</code></dt>
20<dd>
21Ordinate of upper-left corner.
22</dd>
23<dt><code>w</code></dt>
24<dd>
25Width.
26</dd>
27<dt><code>h</code></dt>
28<dd>
29Height.
30</dd>
31<dt><code>style</code></dt>
32<dd>
33Style of rendering. Possible values are:
34<ul>
35<li><code>D</code> or empty string: draw. This is the default value.</li>
36<li><code>F</code>: fill</li>
37<li><code>DF</code> or <code>FD</code>: draw and fill</li>
38</ul>
39</dd>
40</dl>
41<h2>See also</h2>
42<a href="setlinewidth.htm">SetLineWidth()</a>,
43<a href="setdrawcolor.htm">SetDrawColor()</a>,
44<a href="setfillcolor.htm">SetFillColor()</a>.
45<hr style="margin-top:1.5em">
46<div style="text-align:center"><a href="index.htm">Index</a></div>
47</body>
48</html>
Note: See TracBrowser for help on using the repository browser.