Pakiet | mx.graphics |
Interfejs | public interface IFill |
Implementory | BitmapFill, LinearGradient, RadialGradient, SolidColor |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Powiązane elementy interfejsu API
Metody publiczne
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Starts the fill. | IFill | ||
Ends the fill. | IFill |
Szczegół metody
begin | () | metoda |
public function begin(target:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Starts the fill.
Parametry
target:Graphics — The target Graphics object that is being filled.
| |
targetBounds:Rectangle — The Rectangle object that defines the size of the fill
inside the target .
If the dimensions of the Rectangle are larger than the dimensions
of the target , the fill is clipped.
If the dimensions of the Rectangle are smaller than the dimensions
of the target , the fill expands to fill the entire
target .
| |
targetOrigin:Point — The Point that defines the origin (0,0) of the shape in the
coordinate system of target.
|
end | () | metoda |
Tue Jun 12 2018, 12:06 PM Z