Method | Description | |
---|---|---|
displayImage ( string $initials, string $identifier, integer $size = 64, string $hexaColor = null ) | Display an Initialcon image. | |
getColor ( ) : string | Get the color. | |
getFontPath ( ) : string | Get the font path. | |
getHash ( ) : string | Get the Initialcon string hash. | |
getImageData ( string $initials, string $identifier, integer $size = 64, string $hexaColor = null ) : string | Get an Initialcon PNG image data. | |
getImageDataUri ( string $initials, string $identifier, integer $size = 64, string $hexaColor = null ) : string | Get an Initialcon PNG image data. | |
getImageObject ( string $initials, string $identifier, integer $size = 64, string $hexaColor = null ) : Intervention\Image\ImageManagerStatic | Display an Initialcon image. | |
getSize ( ) : integer | Get the image size. | |
getTextSize ( ) : integer | Get the text size. | |
setColor ( string $color ) : |
Set the image color. | |
setFontPath ( string $path ) | Set the font path. | |
setIdentifier ( $identifier ) : |
Generate a hash fron the identifier. | |
setInitials ( $initials ) : |
Generate a hash fron the identifier. | |
setSize ( integer $size ) : |
Set the image size. |
Method | Description | |
---|---|---|
convertHashToArrayOfBoolean ( ) : |
Convert the hash into an multidimensionnal array of boolean. | |
convertHexaToBoolean ( string $hexa ) : boolean | Convert an heaxecimal number into a boolean. | |
generateImage ( $initials, $identifier, integer $size, $color ) | Generate the Initialcon image. |
public setIdentifier ( $identifier ) : |
||
return |
public setInitials ( $initials ) : |
||
return |