\Intervention\Image\Gd\CommandsFlipCommand

Summary

Methods
Properties
Constants
execute()
__construct()
argument()
getOutput()
hasOutput()
setOutput()
$arguments
No constants found
modify()
$output
N/A
No private methods found
No private properties found
N/A

Properties

$arguments

$arguments : array

Arguments of command

Type

array

$output

$output : mixed

Output of command

Type

mixed

Methods

execute()

execute(\Intervention\Image\Image  $image) : bool

Mirrors an image

Parameters

\Intervention\Image\Image $image

Returns

bool —

__construct()

__construct(array  $arguments) : mixed

Creates new command instance

Parameters

array $arguments

Returns

mixed —

argument()

argument(int  $key) : \Intervention\Image\Commands\Argument

Creates new argument instance from given argument key

Parameters

int $key

Returns

\Intervention\Image\Commands\Argument —

getOutput()

getOutput() : mixed

Returns output data of current command

Returns

mixed —

hasOutput()

hasOutput() : bool

Determines if current instance has output data

Returns

bool —

setOutput()

setOutput(mixed  $value) : mixed

Sets output data of current command

Parameters

mixed $value

Returns

mixed —

modify()

modify(\Intervention\Image\Gd\Commands\Image  $image, int  $dst_x, int  $dst_y, int  $src_x, int  $src_y, int  $dst_w, int  $dst_h, int  $src_w, int  $src_h) : bool

Wrapper function for 'imagecopyresampled'

Parameters

\Intervention\Image\Gd\Commands\Image $image
int $dst_x
int $dst_y
int $src_x
int $src_y
int $dst_w
int $dst_h
int $src_w
int $src_h

Returns

bool —