Rev | Line | |
---|
[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>Line</title>
|
---|
| 6 | <link type="text/css" rel="stylesheet" href="../fpdf.css">
|
---|
| 7 | </head>
|
---|
| 8 | <body>
|
---|
| 9 | <h1>Line</h1>
|
---|
| 10 | <code>Line(<b>float</b> x1, <b>float</b> y1, <b>float</b> x2, <b>float</b> y2)</code>
|
---|
| 11 | <h2>Description</h2>
|
---|
| 12 | Draws a line between two points.
|
---|
| 13 | <h2>Parameters</h2>
|
---|
| 14 | <dl class="param">
|
---|
| 15 | <dt><code>x1</code></dt>
|
---|
| 16 | <dd>
|
---|
| 17 | Abscissa of first point.
|
---|
| 18 | </dd>
|
---|
| 19 | <dt><code>y1</code></dt>
|
---|
| 20 | <dd>
|
---|
| 21 | Ordinate of first point.
|
---|
| 22 | </dd>
|
---|
| 23 | <dt><code>x2</code></dt>
|
---|
| 24 | <dd>
|
---|
| 25 | Abscissa of second point.
|
---|
| 26 | </dd>
|
---|
| 27 | <dt><code>y2</code></dt>
|
---|
| 28 | <dd>
|
---|
| 29 | Ordinate of second point.
|
---|
| 30 | </dd>
|
---|
| 31 | </dl>
|
---|
| 32 | <h2>See also</h2>
|
---|
| 33 | <a href="setlinewidth.htm">SetLineWidth()</a>,
|
---|
| 34 | <a href="setdrawcolor.htm">SetDrawColor()</a>.
|
---|
| 35 | <hr style="margin-top:1.5em">
|
---|
| 36 | <div style="text-align:center"><a href="index.htm">Index</a></div>
|
---|
| 37 | </body>
|
---|
| 38 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.