Exemplo n.º 1
0
 /**
  * Resize this Image by both width and height, using padded resize. Use in templates with $PaddedImage.
  * 
  * @param Image_Backend $backend
  * @param integer $width The width to size to
  * @param integer $height The height to size to
  * @return Image_Backend
  */
 public function generatePaddedImage(Image_Backend $backend, $width, $height, $backgroundColor = 'FFFFFF')
 {
     return $backend->paddedResize($width, $height, $backgroundColor);
 }
Exemplo n.º 2
0
 /**
  * Resize this Image by both width and height, using padded resize. Use in templates with $PaddedImage.
  *
  * @param Image_Backend $backend
  * @param integer $width The width to size to
  * @param integer $height The height to size to
  * @return Image_Backend
  * @deprecated 4.0 Use generatePad instead
  */
 public function generatePaddedImage(Image_Backend $backend, $width, $height, $backgroundColor = 'FFFFFF')
 {
     Deprecation::notice('4.0', 'Use generatePad instead');
     return $backend->paddedResize($width, $height, $backgroundColor);
 }
Exemplo n.º 3
0
 /**
  * Resize this Image by both width and height, using padded resize. Use in templates with $PaddedImage.
  *
  * @param Image_Backend $backend
  * @param integer $width The width to size to
  * @param integer $height The height to size to
  * @return Image_Backend
  * @deprecated 4.0 Generate methods are no longer applicable
  */
 public function generatePaddedImage(Image_Backend $backend, $width, $height, $backgroundColor = 'FFFFFF')
 {
     Deprecation::notice('4.0', 'Generate methods are no longer applicable');
     return $backend->paddedResize($width, $height, $backgroundColor);
 }