Adobe Extending Flash Professional CS4 Manuale Utente Pagina 368

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 367
346
EXTENDING FLASH CS4 PROFESSIONAL
Path object
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.
Vedere la pagina 367
1 2 ... 363 364 365 366 367 368 369 370 371 372 373 ... 559 560

Commenti su questo manuale

Nessun commento