Add resizable doc block
This commit is contained in:
parent
0cb9b30932
commit
1a7fd1f058
1 changed files with 10 additions and 0 deletions
|
|
@ -34,5 +34,15 @@ interface Resizable extends VideoInterface
|
|||
*/
|
||||
public function getComputedDimensions($originalWidth, $originalHeight);
|
||||
|
||||
/**
|
||||
* Returns the modulus used by the Resizable video.
|
||||
*
|
||||
* This used to calculate the target dimensions while maintaining the best
|
||||
* aspect ratio.
|
||||
*
|
||||
* @see http://www.undeadborn.net/tools/rescalculator.php
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getModulus();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue