The line box class
This class represents a line box http://www.w3.org/TR/CSS2/visuren.html#line-box
| Methods | ||
|---|---|---|
public
|
__construct(Block $frame, int $y = 0)
|
# |
public
|
get_floats_inside(Page $root): Frame[]
|
# |
public
|
get_float_offsets()
|
# |
public
|
get_width(): float
|
# |
public
|
get_block_frame(): Block
|
# |
public
&
|
get_frames(): AbstractFrameDecorator[]
|
# |
public
|
add_frame(AbstractFrameDecorator $frame): void
|
# |
public
|
remove_frames(int $index): void
|
# |
public
|
get_list_markers(): ListBullet[]
|
# |
public
|
add_list_marker(ListBullet $marker): void
|
# |
public
|
frames_to_align(): Iterator<AbstractFrameDecorator>
|
# |
public
|
trim_trailing_ws(): void
|
# |
public
|
recalculate_width(): float
|
# |
public
|
__toString(): string
|
# |
| Properties | |||
|---|---|---|---|
protected
|
Block
|
$_block_frame
|
# |
protected
|
AbstractFrameDecorator[]
|
$_frames = []
|
# |
protected
|
ListBullet[]
|
$list_markers = []
|
# |
public
|
int
|
$wc = 0
|
# |
public
|
float
|
$y = null
|
# |
public
|
float
|
$w = 0.0
|
# |
public
|
float
|
$h = 0.0
|
# |
public
|
float
|
$left = 0.0
|
# |
public
|
float
|
$right = 0.0
|
# |
public
|
AbstractFrameDecorator
|
$tallest_frame = null
|
# |
public
|
bool[]
|
$floating_blocks = []
|
# |
public
|
bool
|
$br = false
|
# |
public
|
bool
|
$inline = false
|
# |