|
SWFShape::addFillAdds a solid fill to the shape Beschreibung
SWFFill SWFShape::addFill
( int
$red
, int $green
, int $blue
[, int $alpha = 255
] )
SWFFill addFill
( SWFBitmap
$bitmap
[, int $flags
] )
SWFFill addFill
( SWFGradient
$gradient
[, int $flags
] )Warnung
Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko. 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. BeispieleThis 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.. Beispiel #1 SWFShape::addFill example
<?phpSiehe auch
|