« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 24 for setFont (0.001 sec.)
ImagickDraw::setFont — テキストによる注記を行う際に使用するフォントを設定する |... 13944
ImagickDraw::setFont (PECL imagick 2, PECL imagick 3) ImagickDraw::setFont — テキストによる注記を行う際に使用するフォントを設定する 説明 public function ImagickDraw::setFont ( string $font_name ): bool 警告 この関数は、 現在のところ詳細な情 ... 記を行う際に使用するフォントを設定します。 パラメータ font_name 戻り値 成功した場合に true を返します。 例 例1 ImagickDraw::setFont() の例 <?php function setFont ( $fillColor , $strokeColor , $backgroundColor ) { $draw = new \ImagickDraw (); $draw -> set ... StrokeColor ( $strokeColor ); $draw -> setFillColor ( $fillColor ); $draw -> setStrokeWidth ( 2 ); $draw -> setFontSize ( 36 ); $draw -> setFont ( "../fonts/Arial.ttf" ); $draw -> annotation ( 50 , 50 , "Lorem Ipsum!" ); $draw -> setFont ... ( "../fonts/Consolas.ttf" ); $draw -> annotation ( 50 , 100 , "Lorem Ipsum!" ); $draw -> setFont ( "../fonts/CANDY.TTF" ); $draw -> annotation ( 50 , 150 , "Lorem Ipsum!" ); $draw -> setFont ( "../fonts/Inconsolata-dz.o ...
https://man.mtool.work/php/8.3/imagickdraw.setfont.html
Imagick::setFont — フォントを設定する | PHP 8.3 12660
Imagick::setFont (PECL imagick 2 >= 2.1.0, PECL imagick 3) Imagick::setFont — フォントを設定する 説明 public function Imagick::setFont ( string $font ): bool オブジェクトのフォントプロパティを設定します。 このメソッドは、たとえば caption: p ... eMagick の設定で準備しておくか、あるいは font という名前のファイルが存在しなければなりません。 このメソッドを ImagickDraw::setFont() と混同してはいけません。 こちらは、ある特定の ImagickDraw オブジェクトのフォントを設定するメソッドです。 このメソッドは、 ... 場合に使用可能です。 パラメータ font フォント名あるいはファイル名。 戻り値 成功した場合に true を返します。 例 例1 Imagick::setFont() の例 Imagick::setFont の使用例です。 <?php /* 新しい imagick オブジェクトを作成します */ $im = new Imagick (); /* オブジ ... ェクトのフォントを設定します */ $im -> setFont ( "example.ttf" ); /* 新しいキャプションを作成します */ $im -> newPseudoImage ( 100 , 100 , "caption:Hello" ); /* 画像に対 ...
https://man.mtool.work/php/8.3/imagick.setfont.html
GmagickDraw::setfont — テキストのアノテーションで使うフォントの完全な名前を設定... 10141
GmagickDraw::setfont (PECL gmagick >= Unknown) GmagickDraw::setfont — テキストのアノテーションで使うフォントの完全な名前を設定する 説明 public function GmagickDraw::setfont ( string $font ): GmagickDraw テキストのアノテーションで使うフォント ...
https://man.mtool.work/php/8.3/gmagickdraw.setfont.html
ps_setfont — 以降の出力で用いるフォントを設定する | PHP 8.3 9574
ps_setfont (PECL ps >= 1.1.0) ps_setfont — 以降の出力で用いるフォントを設定する 説明 function ps_setfont ( resource $psdoc , int $fontid , float $size ): bool フォントを設定します。このフォントは、事前に ps_findfont() で読み込まれている必要 ...
https://man.mtool.work/php/8.3/function.ps-setfont.html
Imagick::getFont — フォントを取得する | PHP 8.3 8723
Imagick::getFont (PECL imagick 2 >= 2.1.0, PECL imagick 3) Imagick::getFont — フォントを取得する 説明 public function Imagick::getFont (): string オブジェクトのフォントプロパティを返します。 このメソッドは、ImageMagick バージョン 6.3.7 以降 ... タはありません。 戻り値 フォント名を表す文字列を返します。フォントが設定されていない場合は false を返します。 参考 Imagick::setFont() - フォントを設定する ImagickDraw::setFont() - テキストによる注記を行う際に使用するフォントを設定する ImagickDraw::getFon ...
https://man.mtool.work/php/8.3/imagick.getfont.html
Imagick::annotateImage — 画像にテキストによる注記を加える | PHP 8.3 8356
Imagick::annotateImage (PECL imagick 2, PECL imagick 3) Imagick::annotateImage — 画像にテキストによる注記を加える 説明 public function Imagick::annotateImage ( ImagickDraw $draw_settings , float $x , float $y , float $angle , string $text ) ... newImage ( 800 , 75 , $pixel ); /* 黒いテキスト */ $draw -> setFillColor ( 'black' ); /* フォントのプロパティ */ $draw -> setFont ( 'Bookman-DemiItalic' ); $draw -> setFontSize ( 30 ); /* テキストの作成 */ $image -> annotateImage ( $draw , 10 , 45 , 0 ... r ( 'Content-type: image/png' ); echo $image ; ?> 参考 ImagickDraw::annotation() - 画像上にテキストを描画する ImagickDraw::setFont() - テキストによる注記を行う際に使用するフォントを設定する 他のマニュアルの関連ページ Linux JM grodvi(1) Linux JM groff_ou ...
https://man.mtool.work/php/8.3/imagick.annotateimage.html
ps_show — テキストを出力する | PHP 8.3 8140
ps_show (PECL ps >= 1.1.0) ps_show — テキストを出力する 説明 function ps_show ( resource $psdoc , string $text ): bool 現在の位置にテキストを出力します。テキストの位置を設定するには、 関数 ps_set_value() の値 textx および texty に x 座標と ... y 座標を設定します。 事前に ps_setfont() でフォントが設定されていない場合、この関数はエラーを返します。 ps_show() は、以下のようなパラメータや値 (それぞれ ps_set ... false を返します。 参考 ps_continue_text() - 次の行にテキストを続ける ps_show_xy() - 指定された位置にテキストを出力する ps_setfont() - 以降の出力で用いるフォントを設定する 他のマニュアルの関連ページ Linux JM tfmtodit(1) Linux JM colcrt(1) Linux JM grub- ...
https://man.mtool.work/php/8.3/function.ps-show.html
ps_translate — 座標変換を設定する | PHP 8.3 8073
ps_translate (PECL ps >= 1.1.0) ps_translate — 座標変換を設定する 説明 function ps_translate ( resource $psdoc , float $x , float $y ): bool 新しい座標系の原点を設定します。 パラメータ psdoc ps_new() が返す、postscript ファイルのリソース ID ... ext_pos ( $ps , 100 , 100 ); ps_translate ( $ps , 500 , 750 ); rectangle ( $ps ); ps_translate ( $ps , - 500 , - 750 ); ps_setfont ( $ps , $psfont , 8.0 ); ps_show ( $ps , "Text at initial position" ); ps_end_page ( $ps ); ps_begin_page ( $ps , 596 , 84 ... text_pos ( $ps , 100 , 100 ); ps_save ( $ps ); ps_translate ( $ps , 500 , 750 ); rectangle ( $ps ); ps_restore ( $ps ); ps_setfont ( $ps , $psfont , 8.0 ); ps_show ( $ps , "Text at initial position" ); ps_end_page ( $ps ); ps_delete ( $ps ); ?> 上の例は ...
https://man.mtool.work/php/8.3/function.ps-translate.html
GmagickDraw クラス | PHP 8.3 7923
GmagickDraw クラス (PECL gmagick >= Unknown) はじめに クラス概要 class GmagickDraw { /* メソッド */ public function annotate ( float $x , float $y , string $text ): GmagickDraw public function arc ( float $sx , float $sy , float $ex , float ... illcolor ( mixed $color ): GmagickDraw public function setfillopacity ( float $fill_opacity ): GmagickDraw public function setfont ( string $font ): GmagickDraw public function setfontsize ( float $pointsize ): GmagickDraw public function setfontstyle ( ... int $style ): GmagickDraw public function setfontweight ( int $weight ): GmagickDraw public function setstrokecolor ( mixed $color ): GmagickDraw public function setstrokeo ... w::setfillcolor — オブジェクトの塗りつぶしに使う色を設定する GmagickDraw::setfillopacity — 不透明度を設定する GmagickDraw::setfont — テキストのアノテーションで使うフォントの完全な名前を設定する GmagickDraw::setfontsize — テキストのアノテーションで使うフ ...
https://man.mtool.work/php/8.3/class.gmagickdraw.html
ps_findfont — フォントを読み込む | PHP 8.3 7923
ps_findfont (PECL ps >= 1.1.0) ps_findfont — フォントを読み込む 説明 function ps_findfont ( resource $psdoc , string $fontname , string $encoding , bool $embed = false ): int あとで使用するために、フォントを読み込みます。読み込んだフォントを ... 実際に利用するためには、 ps_setfont() で設定しなければなりません。 文字の間隔を計算するため、この関数には adobe フォントメトリックファイルが必要です。 ページの ... 場合にフォントの ID を、失敗した場合にゼロを返します。 ID は正の数値です。 参考 ps_begin_page() - 新しいページを開始する ps_setfont() - 以降の出力で用いるフォントを設定する 他のマニュアルの関連ページ Vim print Linux JM grub-mkfont(1) Vim usr_45 Vim mbyte ...
https://man.mtool.work/php/8.3/function.ps-findfont.html
PREV 1 2 3 NEXT