コード例 #1
0
ファイル: Watermark.php プロジェクト: elboletaire/watimage
 /**
  * Sets the position of the watermark.
  *
  * @param  mixed $x Can be a position ala CSS, just position X or an array
  *                  containing both params.
  * @param  int   $y Position Y.
  * @return Watermark
  */
 public function setPosition($x, $y = null)
 {
     $this->position = Normalize::cssPosition($x, $y);
     return $this;
 }