blob: 5cb06075c5218bdcea54ed2c49311906770fbc66 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
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>
12Draws a line between two points.
13<h2>Parameters</h2>
14<dl class="param">
15<dt><code>x1</code></dt>
16<dd>
17Abscissa of first point.
18</dd>
19<dt><code>y1</code></dt>
20<dd>
21Ordinate of first point.
22</dd>
23<dt><code>x2</code></dt>
24<dd>
25Abscissa of second point.
26</dd>
27<dt><code>y2</code></dt>
28<dd>
29Ordinate 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>