PHP Класс SimpleSoftwareIO\QrCode\Image

Наследование: implements SimpleSoftwareIO\QrCode\ImageInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$image resource Holds the image resource.

Открытые методы

Метод Описание
__construct ( $image ) Creates a new Image object.
getHeight ( ) * Returns the height of an image
getImageResource ( ) : string Returns the image string.
getWidth ( ) * Returns the width of an image

Описание методов

__construct() публичный Метод

Creates a new Image object.
public __construct ( $image )
$image string An image string

getHeight() публичный Метод

* Returns the height of an image
public getHeight ( )

getImageResource() публичный Метод

Returns the image string.
public getImageResource ( ) : string
Результат string

getWidth() публичный Метод

* Returns the width of an image
public getWidth ( )

Описание свойств

$image защищенное свойство

Holds the image resource.
protected resource $image
Результат resource