downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFFontChar> <SWFFont::getUTF8Width
[edit] Last updated: Fri, 25 May 2012

view this page in

SWFFont::getWidth

(PHP 4 >= 4.0.5)

SWFFont::getWidth文字列の幅を返す

説明

float SWFFont::getWidth ( string $string )
警告

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。

swffont::getwidth() は、フォントのデフォルトの 大きさを使用して文字列 string の幅を返します。 テキストオブジェクトの大きさを使用した、このメソッドの swftext() バージョンを使用したくなることもあるでしょう。

参考



add a note add a note User Contributed Notes SWFFont::getWidth
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites