PlainTextRenderer
in package
implements
RendererInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- EMPTY_BLOCK = " "
- UTF-8 no-break space (U+00A0)
- FULL_BLOCK = "█"
- UTF-8 full block (U+2588)
- LOWER_HALF_BLOCK = "▄"
- UTF-8 lower half block (U+2584)
- UPPER_HALF_BLOCK = "▀"
- UTF-8 upper half block (U+2580)
- $margin : int
- __construct() : mixed
- render() : string
Constants
EMPTY_BLOCK
UTF-8 no-break space (U+00A0)
private
mixed
EMPTY_BLOCK
= " "
FULL_BLOCK
UTF-8 full block (U+2588)
private
mixed
FULL_BLOCK
= "█"
LOWER_HALF_BLOCK
UTF-8 lower half block (U+2584)
private
mixed
LOWER_HALF_BLOCK
= "▄"
UPPER_HALF_BLOCK
UTF-8 upper half block (U+2580)
private
mixed
UPPER_HALF_BLOCK
= "▀"
Properties
$margin
private
int
$margin
Methods
__construct()
public
__construct([int $margin = 2 ]) : mixed
Parameters
- $margin : int = 2
Return values
mixed —render()
public
render(QrCode $qrCode) : string
Parameters
- $qrCode : QrCode