Adobe Extending Flash Professional CS5 Manuel d'utilisateur Page 381

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 565
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 380
359
EXTENDING FLASH PROFESSIONAL
Path object
Last updated 5/2/2011
Description
Method; removes all points from the path.
Example
The following example removes all points from a path stored in the myPath variable:
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 A Boolean value that, if set to true, suppresses the fill that would be applied to the shape. The default
value is
false. This parameter is optional.
Vue de la page 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 564 565

Commentaires sur ces manuels

Pas de commentaire