Свойство | Type | Description | |
---|---|---|---|
$imageResource | resource | Image resource | |
$mimeType | string | Mime type | |
$renderingFunction | string | Rendering function | |
$uniqueName | string | Unique name |
Méthode | Description | |
---|---|---|
__construct ( ) | Gd constructor | |
getContents ( ) : string | ||
getExtension ( ) : string | ||
getImageResource ( ) : resource | Get image resource | |
getIndexedFilename ( ) : string | ||
getMimeType ( ) : string | Get mime type | |
getRenderingFunction ( ) : string | Get rendering function | |
setImageResource ( $value = null ) | Set image resource | |
setMimeType ( string $value = self::MIMETYPE_DEFAULT ) | Set mime type | |
setRenderingFunction ( string $value = self::RENDERING_DEFAULT ) | Set rendering function |
public getImageResource ( ) : resource | ||
Résultat | resource |
public getRenderingFunction ( ) : string | ||
Résultat | string |
public setImageResource ( $value = null ) | ||
$value | resource |
public setMimeType ( string $value = self::MIMETYPE_DEFAULT ) | ||
$value | string |
public setRenderingFunction ( string $value = self::RENDERING_DEFAULT ) | ||
$value | string |
protected resource $imageResource | ||
Résultat | resource |
protected string $renderingFunction | ||
Résultat | string |