芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/fmd/vendor/intervention/image/src/Intervention/Image/Point.php
x = is_numeric($x) ? intval($x) : 0; $this->y = is_numeric($y) ? intval($y) : 0; } /** * Sets X coordinate * * @param integer $x */ public function setX($x) { $this->x = intval($x); } /** * Sets Y coordinate * * @param integer $y */ public function setY($y) { $this->y = intval($y); } /** * Sets both X and Y coordinate * * @param integer $x * @param integer $y */ public function setPosition($x, $y) { $this->setX($x); $this->setY($y); } }