OverloadExample
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Version: | 10 September 2004 |
| Author: | Arthur Clemens |
| Classpath: | OverloadExample |
| File last modified: | Saturday, 21 May 2005, 01:59:29 |
Example of using the @overload tag. Overloading is normally not possible with ActionScript, but as2lib (http://www.as2lib.org) has a way of emulating overloading, using the Overload class.
The notation of @overload follows the same rules as @see: each method on one line, with the # prefix to create a link. For example:
The notation of @overload follows the same rules as @see: each method on one line, with the # prefix to create a link. For example:
@overload #drawByFillAndLineColor. The method parameters and return type are added automatically.Summary
Instance methods
- draw : Void
- Description of draw.
- drawByFillAndLineColor (fillColor:Color, lineColor:Color) : Void
- Description of this method.
- drawByFillColor (fillColor:Color) : Void
- Description of this method.
Instance methods
draw
function draw (
) : Void
Description of draw.
drawByFillAndLineColor
function drawByFillAndLineColor (
fillColor:Color,
lineColor:Color) : Void
Description of this method.
drawByFillColor
function drawByFillColor (
fillColor:Color) : Void
Description of this method.