/var/www/vhosts/ihelp.ro/httpdocs/vendor/imagine/imagine/src/Image
NameSizeModeActions
Fill/-0755rm
Histogram/-0755rm
Metadata/-0755rm
Palette/-0755rm
Point/-0755rm
AbstractFont.php36830644editdlrm
AbstractImage.php72280644editdlrm
AbstractImagine.php26670644editdlrm
AbstractLayers.php21410644editdlrm
Box.php32300644editdlrm
BoxInterface.php19720644editdlrm
FontInterface.php12780644editdlrm
Format.php32230644editdlrm
FormatList.php13780644editdlrm
ImageInterface.php64420644editdlrm
ImagineInterface.php27180644editdlrm
LayersInterface.php26860644editdlrm
ManipulatorInterface.php59140644editdlrm
Point.php21150644editdlrm
PointInterface.php10920644editdlrm
PointSigned.php17430644editdlrm
Profile.php16130644editdlrm
ProfileInterface.php5190644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/imagine/imagine/src/Image/BoxInterface.php (1972B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Imagine\Image; /** * Interface for a box. */ interface BoxInterface { /** * Gets box height. * * @return int */ public function getHeight(); /** * Gets box width. * * @return int */ public function getWidth(); /** * Creates new BoxInterface instance with ratios applied to both sides. * * @param float $ratio * * @return static */ public function scale($ratio); /** * Creates new BoxInterface, adding given size to both sides. * * @param int $size * * @return static */ public function increase($size); /** * Checks whether current box can fit given box at a given start position, * start position defaults to top left corner xy(0,0). * * @param \Imagine\Image\BoxInterface $box * @param \Imagine\Image\PointInterface $start * * @return bool */ public function contains(BoxInterface $box, PointInterface $start = null); /** * Gets current box square, useful for getting total number of pixels in a * given box. * * @return int */ public function square(); /** * Returns a string representation of the current box. * * @return string */ public function __toString(); /** * Resizes box to given width, constraining proportions and returns the new box. * * @param int $width * * @return static */ public function widen($width); /** * Resizes box to given height, constraining proportions and returns the new box. * * @param int $height * * @return static */ public function heighten($height); }