Dompdf\LineBox
The line box class
This class represents a line box
http://www.w3.org/TR/CSS2/visuren.html#line-box
Synopsis
class LineBox
{
- // members
- protected Block $_block_frame;
- protected array $_frames = ;
- public integer $wc = 0;
- public $y = NULL;
- public float $w = 0.0;
- public float $h = 0.0;
- public float $left = 0.0;
- public float $right = 0.0;
- public Frame $tallest_frame = NULL;
- public array $floating_blocks = ;
- public bool $br = false;
- // methods
- public void __construct()
- public array get_floats_inside()
- public void get_float_offsets()
- public float get_width()
- public Block get_block_frame()
- public array get_frames()
- public void add_frame()
- public float recalculate_width()
- public string __toString()
Members
protected
- $_block_frame — Dompdf\FrameDecorator\Block
- $_frames — array
public
- $br — Dompdf\bool
- $floating_blocks — array
- $h — float
- $left — float
- $right — float
- $tallest_frame — Dompdf\Frame
- $w — float
- $wc — integer
- $y — float
Methods
public
- __construct() — Class constructor
- __toString()
- add_frame()
- get_block_frame()
- get_float_offsets()
- get_floats_inside() — Returns the floating elements inside the first floating parent
- get_frames()
- get_width()
- recalculate_width() — Recalculate LineBox width based on the contained frames total width.