previousImage_Text::init (Previous) (Next) Image_Text::rendernext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Image_Text::measurize

Image_Text::measurize() – テキストボックス内のテキストを測定する

Synopsis

require_once 'ImageText.php';

array Image_Text::measurize ( bool $force = = false )

Description

このメソッドは与えられたフォントサイズに対する輪郭線を測定することで、 定義済みのテキストボックスにテキストをフィットさせます。 描画する (もしくは Image_Text::autoMeasurize() を使用する) 前に手動でこれを行うことができます。そうでない場合、 レンダラは自動的に測定を行います。

Parameter

boolean $force

オプションでデフォルトは FALSE です。 強制的に測定させるには TRUE を設定してください。

Return value

returns 測定された輪郭線の配列、もしくは PEAR::Error

Throws

throws 投げられる例外はありません

See

Image_Text::autoMeasurize()参照ください

Note

This function can not be called statically.

previousImage_Text::init (Previous) (Next) Image_Text::rendernext

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.