SWFButton::addShape

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFButton::addShapeAdds a shape to a button

說明

void SWFButton::addShape ( SWFShape $shape , int $flags )
Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。

Adds the given shape to the button.

參數

shape

An SWFShape instance

flags

The following flags are valid: SWFBUTTON_UP, SWFBUTTON_OVER, SWFBUTTON_DOWN and SWFBUTTON_HIT.

SWFBUTTON_HIT isn't ever displayed, it defines the hit region for the button. That is, everywhere the hit shape would be drawn is considered a "touchable" part of the button.

回傳值

無回傳值。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top