StretchCommand
class StretchCommand extends AbstractCommand implements CommandInterface
기준 사이즈에 꽉 차도록 이미지 비율을 변경하는 리사이징 command
Properties
protected Dimension | $dimension | Dimension interface | from AbstractCommand |
protected Dimension | $originDimension | Origin dimension | from AbstractCommand |
Methods
string
getName()
Specific command name
string
getMethod()
Executed command method name
array
getExecArgs()
Arguments of executed method
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 34
string
getName()
Specific command name
at line 44
string
getMethod()
Executed command method name
at line 54
array
getExecArgs()
Arguments of executed method