프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_vt100 | array | ANSI/VT100 color/format sequences. | |
$_vtbackground | string | The default background color. | |
$_vtcolor | string | The default color. | |
$_vtstyle | string | The default style. |
메소드 | 설명 | |
---|---|---|
bell ( integer $count = 1 ) | Bells. | |
color ( mixed $string, string | array $options = null ) | Return a VT100 colored string. |
메소드 | 설명 | |
---|---|---|
_vt100 ( mixed $name ) : integer | Returns a ANSI/VT100 number from a color name. | |
_vtbackground ( mixed $name ) : integer | Returns the ANSI/VT100 number from a backgound color name. | |
_vtcolor ( mixed $name ) : integer | Returns the ANSI/VT100 number from a color name. | |
_vtstyle ( mixed $name ) : integer | Returns a ANSI/VT100 number from a style name. |
protected static _vtbackground ( mixed $name ) : integer | ||
$name | mixed | A backgound color name string or a ANSI/VT100 number. |
리턴 | integer | A ANSI/VT100 number. |
public static color ( mixed $string, string | array $options = null ) | ||
$string | mixed | The string to color. |
$options | string | array | The possible values for an array are: - `'style`: a style code. - `'color'`: a color code. - `'background'`: a background color code. The string must respect one of the following format: - `'style;color;background'`. - `'style;color'`. - `'color'`. |
protected static array $_vt100 | ||
리턴 | array |
protected static string $_vtbackground | ||
리턴 | string |