TCPDF::getCellBorder( $x,  $y,  $w,  $h,  $brd )

Returns the code to draw the cell border


Description Description

See also See also


Top ↑

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)))


Top ↑

Return Return

(string) containing cell border code


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.7.000 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.