PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

SWFText クラス | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

SWFText クラス

(PHP 5 <= 5.3.0, PECL ming SVN)

はじめに

SWFText.

クラス概要

SWFText {
/* メソッド */
void addString ( string $string )
void addUTF8String ( string $text )
__construct ( void )
float getAscent ( void )
float getDescent ( void )
float getLeading ( void )
float getUTF8Width ( string $string )
float getWidth ( string $string )
void moveTo ( float $x , float $y )
void setColor ( int $red , int $green , int $blue [, int $a = 255 ] )
void setFont ( SWFFont $font )
void setHeight ( float $height )
void setSpacing ( float $spacing )
}

目次

  • SWFText::addString ? 文字列を描画する
  • SWFText::addUTF8String ? 現在のペンの位置に、現在のフォント・高さ・行間および色設定を使用して 指定したテキストで SWFText オブジェクトを作成する
  • SWFText::__construct ? 新しい SWFText オブジェクトを作成する
  • SWFText::getAscent ? 現在のサイズにおけるフォントの ascent (ベースライン上部の高さ) あるいは取得できない場合は 0 を返す
  • SWFText::getDescent ? 現在のサイズにおけるフォントの descent (ベースライン下部の深さ) あるいは取得できない場合は 0 を返す
  • SWFText::getLeading ? 現在のサイズにおけるフォントの leading (行間) あるいは取得できない場合は 0 を返す
  • SWFText::getUTF8Width ? 現在のフォントおよびサイズにおける指定した文字列の幅を計算する
  • SWFText::getWidth ? 文字列の幅を計算する
  • SWFText::moveTo ? ペンを移動する
  • SWFText::setColor ? 現在のテキスト色を設定する
  • SWFText::setFont ? 現在のフォントを設定する
  • SWFText::setHeight ? 現在のフォントの高さを設定する
  • SWFText::setSpacing ? 現在のフォントの間隔を設定する

忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「SWFText クラス」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | SWFText クラス」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: