FitCommand
class FitCommand extends AbstractCommand implements CommandInterface
crop & resize 를 수행하는 command
Properties
| protected Dimension | $dimension | Dimension interface | from AbstractCommand |
| protected Dimension | $originDimension | Origin dimension | from AbstractCommand |
| protected string | $position | fit position(center, left and right) |
Methods
string
getName()
Specific command name
string
getMethod()
Executed command method name
array
getExecArgs()
Arguments of executed method
void
setPosition(string $position)
Set fit position
Details
in AbstractCommand at line 51
void
setDimension(Dimension $dimension)
Set a dimension
in AbstractCommand at line 62
void
setOriginDimension(Dimension $dimension)
Set origin dimension
in AbstractCommand at line 72
Dimension
getDimension()
Get a dimension
in AbstractCommand at line 82
Dimension
getOriginDimension()
Get a dimension
at line 41
string
getName()
Specific command name
at line 51
string
getMethod()
Executed command method name
at line 61
array
getExecArgs()
Arguments of executed method
at line 82
void
setPosition(string $position)
Set fit position