TCPDF::getCellBorder( $x, $y, $w, $h, $brd )
Returns the code to draw the cell border
Description Description
See also See also
Parameters Parameters
- $x
-
(Required) (float) X coordinate.
- $y
-
(Required) (float) Y coordinate.
- $w
-
(Required) (float) Cell width.
- $h
-
(Required) (float) Cell height.
- $brd
-
(Required) (mixed) Indicates if borders must be drawn around the cell. The value can be a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul> or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul> or an array of line styles for each border group - for example: array('LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)))
Return Return
(string) containing cell border code
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
5.7.000 | Introduced. |