Свойство | Тип | Описание | |
---|---|---|---|
$backgroundColor | array | ||
$color | array | ||
$generatedImage | mixed | ||
$pixelRatio | integer | ||
$size | integer |
Метод | Описание | |
---|---|---|
getArrayOfSquare ( ) : array | ||
getBackgroundColor ( ) : array | Get the background color. | |
getColor ( ) : array | Get the color. | |
getHash ( ) : string | Get the identicon string hash. | |
getPixelRatio ( ) : integer | Get the pixel ratio. | |
getSize ( ) : integer | Get the image size. | |
setBackgroundColor ( string | array $backgroundColor ) | Set the image background color. | |
setColor ( string | array $color ) | Set the image color. | |
setSize ( integer $size ) | Set the image size. | |
setString ( string $string ) | Generate a hash from the original string. |
Метод | Описание | |
---|---|---|
convertColor ( array | string $color ) : array | ||
convertHashToArrayOfBoolean ( ) | Convert the hash into an multidimensional array of boolean. | |
convertHexaToBoolean ( string $hexa ) : boolean | Convert an hexadecimal number into a boolean. |
public getBackgroundColor ( ) : array | ||
Результат | array |
public getPixelRatio ( ) : integer | ||
Результат | integer |
public setBackgroundColor ( string | array $backgroundColor ) | ||
$backgroundColor | string | array | The color in hexa (3 or 6 chars) or rgb array |