TableRenderContext
in package
FinalYes
Rendering context passed to {@see TableRenderer}. Bundles the body / header font handles plus their metrics so the renderer doesn't need to know how the caller resolved fonts.
Table of Contents
Properties
- $bodyFont : Font
- $bodyMetrics : AfmData
- $fontSize : float
- $headerFont : Font
- $headerMetrics : AfmData
- $lineHeight : float
- $style : TableStyle
Methods
- __construct() : mixed
Properties
$bodyFont read-only
public
Font
$bodyFont
$bodyMetrics read-only
public
AfmData
$bodyMetrics
$fontSize read-only
public
float
$fontSize
$headerFont read-only
public
Font
$headerFont
$headerMetrics read-only
public
AfmData
$headerMetrics
$lineHeight read-only
public
float
$lineHeight
$style read-only
public
TableStyle
$style
Methods
__construct()
public
__construct(Font $bodyFont, AfmData $bodyMetrics, Font $headerFont, AfmData $headerMetrics, float $fontSize, float $lineHeight, TableStyle $style) : mixed
Parameters
- $bodyFont : Font
- $bodyMetrics : AfmData
- $headerFont : Font
- $headerMetrics : AfmData
- $fontSize : float
- $lineHeight : float
- $style : TableStyle