Method | Description | |
---|---|---|
__construct ( ) : void | constructor | |
generate ( string $text ) : string | Generate a 16x16 png corresponding to $text. |
Method | Description | |
---|---|---|
degrade ( resource $img, string $direction, array $color1, array $color2 ) : resource | Gradient function | |
drawshape ( resource $image, integer $action, integer $color ) : void | Draw a shape | |
getInt ( ) : integer | Returns a single integer from the $VALUES array (0. | |
getX ( ) : integer | Returns a single integer from the array (roughly mapped to image width) | |
getY ( ) : integer | Returns a single integer from the array (roughly mapped to image height) |