コード例 #1
0
ファイル: Box.php プロジェクト: hjanuschka/gd-text
 protected function drawInternal($x, $y, Color $color, $text)
 {
     $this->imagettfstroketext($this->im, $this->getFontSizeInPoints(), 0, $x, $y, $color->getIndex($this->im), $this->strokeColor->getIndex($this->im), $this->fontFace, $text, $this->strokeSize);
 }
コード例 #2
0
ファイル: Box.php プロジェクト: zgldh/gd-text-for-chinese
 protected function drawInternal($x, $y, Color $color, $text)
 {
     imagefttext($this->im, $this->getFontSizeInPoints(), $this->angle, $x, $y, $color->getIndex($this->im), $this->fontFace, $text);
 }