newt_draw_root_text/とは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > newt_draw_root_text/の意味・解説 

newt_draw_root_text

(PECL)
newt_draw_root_text — 指定した位置に文字列を表示する

説明

void newt_draw_root_text ( int left, int top, string text )
指定した位置に文字列を表示します。

パラメータ

left
カラム番号。
注意: left が負の数の場合、画面の反対側から位置が計算されます。
top
行番号。
注意: top が負の数の場合、画面の反対側から位置が計算されます。
text
表示する文字列。

例 1509. newt_draw_root_text() の例
このコードは、画面の両側の隅にタイトルを表示します。
<?php
 newt_init();
 newt_cls();

 newt_draw_root_text (2, 0, "Some root text");
 newt_refresh();
 sleep(1);

 newt_draw_root_text (-30, 0, "Root text in the other corner");
 newt_refresh();
 sleep(1);

 newt_finished();
?>


参考

newt_push_help_line()
newt_pop_help_line()



このページでは「PHP関数リファレンス」からnewt_draw_root_text/を検索した結果を表示しています。
Weblioに収録されているすべての辞書からnewt_draw_root_text/を検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からnewt_draw_root_text/ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「newt_draw_root_text/」の関連用語

newt_draw_root_text/のお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



newt_draw_root_text/のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS