PHP ManualSWFShape::addFill(PHP 4 >= 4.0.5) SWFShape::addFill — Adds a solid fill to the shape DescriptionWarning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. SWFShape::addFill() adds a solid fill to the shape's list of fill styles. SWFShape::addFill() accepts three different types of arguments.
The
The SWFShape::addFill() returns an SWFFill() object for use with the SWFShape::setLeftFill() and SWFShape::setRightFill() functions described below. ExamplesThis simple example will draw a frame on a bitmap. Ah, here's another buglet in the flash player- it doesn't seem to care about the second shape's bitmap's transformation in a morph. According to spec, the bitmap should stretch along with the shape in this example.. Example #1 SWFShape::addFill() example
<?php See Also
![]() |
PHP-Index
New Tutorial entries
|