芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/apv.mgaplay.com.br/vendor/intervention/image/src/Intervention/Image/Constraint.php
size = $size; } /** * Returns current size of constraint * * @return \Intervention\Image\Size */ public function getSize() { return $this->size; } /** * Fix the given argument in current constraint * * @param integer $type * @return void */ public function fix($type) { $this->fixed = ($this->fixed & ~(1 << $type)) | (1 << $type); } /** * Checks if given argument is fixed in current constraint * * @param integer $type * @return boolean */ public function isFixed($type) { return (bool) ($this->fixed & (1 << $type)); } /** * Fixes aspect ratio in current constraint * * @return void */ public function aspectRatio() { $this->fix(self::ASPECTRATIO); } /** * Fixes possibility to size up in current constraint * * @return void */ public function upsize() { $this->fix(self::UPSIZE); } }