|
Text UI
A simple and fast way to take user input and display output in text mode using PHP.
|
Public Member Functions | |
| __construct (string $content) | |
| setTopLeftCorner (string $char) | |
| setBottomLeftCorner (string $char) | |
| setTopRightCorner (string $char) | |
| setBottomRightCorner (string $char) | |
| setHLine (string $char) | |
| setVLine (string $char) | |
| setHAlign (HAlign $halign) | |
| draw () | |
Public Member Functions inherited from DrawableInterface | |
Protected Attributes | |
| string | $topLeftCornerChar = '+' |
| string | $bottomLeftCornerChar = '+' |
| string | $topRightCornerChar = '+' |
| string | $bottomRightCornerChar = '+' |
| string | $horizontalBorderChar = '-' |
| string | $verticalBorderChar = '|' |
| HAlign | $horizontalAlign |
| readonly string | $content |
| draw | ( | ) |
Displays the box on the screen.
Implements DrawableInterface.
| setBottomLeftCorner | ( | string | $char | ) |
| setBottomRightCorner | ( | string | $char | ) |
| setHAlign | ( | HAlign | $halign | ) |
| setHLine | ( | string | $char | ) |
| setTopLeftCorner | ( | string | $char | ) |
| setTopRightCorner | ( | string | $char | ) |
| setVLine | ( | string | $char | ) |