Example
The following example removes all points from a path stored in the
var myPath = fl.drawingLayer.newPath();
myPath.clear();
path.close()
Availability
Flash MX 2004.
Usage
path.close()
Parameters
None.
Returns
Nothing.
Description
Method; appends a point at the location of the first point of the path and extends the path to that
point, which closes the path. If the path has no points, no points are added.
Example
The following example creates a closed path:
var myPath = fl.drawingLayer.newPath();
myPath.close();
path.makeShape()
Availability
Flash MX 2004.
Usage
path.makeShape([bSupressFill [, bSupressStroke]])
Parameters
bSuppressFill
the shape. The default value is
bSupressStroke
applied to the shape. The default value is
Returns
Nothing.
A Boolean value that, if set to
. This parameter is optional.
false
A Boolean value that, if set to
, suppresses the fill that would be applied to
true
, suppresses the stroke that would be
true
. This parameter is optional.
false
variable:
myPath
Path object
245
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?