| 套件 | mx.graphics |
| 介面 | public interface IFill |
| 實作者 | BitmapFill, LinearGradient, RadialGradient, SolidColor |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
相關 API 元素
公用方法
| 方法 | 定義自 | ||
|---|---|---|---|
Starts the fill. | IFill | ||
Ends the fill. | IFill | ||
方法詳細資訊
begin | () | 方法 |
public function begin(target:Graphics, targetBounds:Rectangle, targetOrigin:Point):void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Starts the fill.
參數
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 | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z