TCPDF::Line( $x1, $y1, $x2, $y2, $style = array() )
Draws a line between two points.
Description Description
See also See also
- SetLineWidth(),: SetDrawColor(), SetLineStyle()
Parameters Parameters
- $x1
-
(Required) (float) Abscissa of first point.
- $y1
-
(Required) (float) Ordinate of first point.
- $x2
-
(Required) (float) Abscissa of second point.
- $y2
-
(Required) (float) Ordinate of second point.
- $style
-
(Optional) (array) Line style. Array like for SetLineStyle(). Default value: default line style (empty array).
Default value: array()
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |