| Package | mx.graphics |
| Interface | public interface IFill |
| Implementors | BitmapFill, LinearGradient, RadialGradient, SolidColor |
See also
| Method | Defined By | ||
|---|---|---|---|
|
Starts the fill.
| IFill | ||
|
Ends the fill.
| IFill | ||
| begin | () | method |
public function begin(target:Graphics, rc:Rectangle):void
Starts the fill.
Parameters
target:Graphics — The target Graphics object that is being filled.
|
|
rc: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.
|
| end | () | method |
public function end(target:Graphics):void
Ends the fill.
Parameters
target:Graphics — The Graphics object that is being filled.
|