Destiny\Grimoire\Image::__construct PHP Method

__construct() public method

public __construct ( array $properties )
$properties array
    public function __construct(array $properties)
    {
        $this->rectX = array_get($properties, 'rect.x');
        $this->rectY = array_get($properties, 'rect.y');
        $this->rectWidth = array_get($properties, 'rect.width');
        $this->rectHeight = array_get($properties, 'rect.height');
        $this->sheetPath = array_get($properties, 'sheetPath');
        $this->sheetX = array_get($properties, 'sheetSize.x');
        $this->sheetY = array_get($properties, 'sheetSize.y');
        $this->sheetWidth = array_get($properties, 'sheetSize.width');
        $this->sheetHeight = array_get($properties, 'sheetSize.height');
    }