|
| getWidth () |
| Determine and return current console width.
|
|
| getHeight () |
| Determine and return current console height.
|
|
| isUtf8 () |
| Check if console is UTF-8 compatible.
|
|
| getTitle () |
| Return current console window title.
|
|
| setCharset (Charset\CharsetInterface $charset) |
| Set Console charset to use.
|
|
| getCharset () |
| Get charset currently in use by this adapter.
|
|
| getDefaultCharset () |
|
| clear () |
| Clear console screen.
|
|
| clearLine () |
| Clear line at cursor position.
|
|
| readChar ($mask=null) |
| Read a single character from the console input.
|
|
| readLine ($maxLength=2048) |
| Read a single line from the console input.
|
|
| getWidth () |
| Determine and return current console width.
|
|
| getHeight () |
| Determine and return current console height.
|
|
| isUtf8 () |
| Check if console is UTF-8 compatible.
|
|
| getTitle () |
| Return current console window title.
|
|
| setCharset (Charset\CharsetInterface $charset) |
| Set Console charset to use.
|
|
| getCharset () |
| Get charset currently in use by this adapter.
|
|
| getDefaultCharset () |
|
| write ($text, $color=null, $bgColor=null) |
| Write a chunk of text to console.
|
|
| writeText ($text, $color=null, $bgColor=null) |
| Alias for write()
|
|
| writeLine ($text="", $color=null, $bgColor=null) |
| Write a single line of text to console and advance cursor to the next line.
|
|
| writeAt ($text, $x, $y, $color=null, $bgColor=null) |
| Write a piece of text at the coordinates of $x and $y.
|
|
| writeBox ($x1, $y1, $x2, $y2, $lineStyle=self::LINE_SINGLE, $fillStyle=self::FILL_NONE, $color=null, $bgColor=null, $fillColor=null, $fillBgColor=null) |
| Write a box at the specified coordinates.
|
|
| writeTextBlock ($text, $width, $height=null, $x=0, $y=0, $color=null, $bgColor=null) |
| Write a block of text at the given coordinates, matching the supplied width and height.
|
|
| getWidth () |
| Determine and return current console width.
|
|
| getHeight () |
| Determine and return current console height.
|
|
| getSize () |
| Determine and return current console width and height.
|
|
| isUtf8 () |
| Check if console is UTF-8 compatible.
|
|
| setPos ($x, $y) |
| Set cursor position.
|
|
| showCursor () |
| Show console cursor.
|
|
| hideCursor () |
| Hide console cursor.
|
|
| getTitle () |
| Return current console window title.
|
|
| colorize ($string, $color=null, $bgColor=null) |
| Prepare a string that will be rendered in color.
|
|
| setColor ($color) |
| Change current drawing color.
|
|
| setBgColor ($color) |
| Change current drawing background color.
|
|
| resetColor () |
| Reset color to console default.
|
|
| setCharset (Charset\CharsetInterface $charset) |
| Set Console charset to use.
|
|
| getCharset () |
| Get charset currently in use by this adapter.
|
|
| getDefaultCharset () |
|
| clear () |
| Clear console screen.
|
|
| clearLine () |
| Clear line at cursor position.
|
|
| clearScreen () |
| Clear console screen.
|
|
| readLine ($maxLength=2048) |
| Read a single line from the console input.
|
|
| readChar ($mask=null) |
| Read a single character from the console input.
|
|
| encodeText ($text) |
| Encode a text to match console encoding.
|
|
| setCharset (CharsetInterface $charset) |
| Set Console charset to use.
|
|