예제 #1
0
파일: Page.php 프로젝트: appotter/phppdf
 public function setWatermark(Container $watermark)
 {
     $watermark->setParent($this);
     $watermark->setAttribute('vertical-align', self::VERTICAL_ALIGN_MIDDLE);
     $watermark->setHeight($this->getHeight());
     $watermark->setWidth($this->getWidth());
     $watermark->setBoundary(clone $this->getBoundary());
     $this->watermark = $watermark;
 }