Adobe Extending Flash Professional CS4 Manuale Utente Pagina 314

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 313
292
EXTENDING FLASH CS4 PROFESSIONAL
HalfEdge object
Returns
An Edge object.
Description
Method; gets the Edge object for the HalfEdge object. See Edge object.
Example
The following example illustrates getting an edge and a half edge for the specified shape:
var shape = fl.getDocumentDOM().selection[0];
var hEdge = shape.edges[0].getHalfEdge(0);
var edge = hEdge.getEdge();
halfEdge.getNext()
Availability
Flash MX 2004.
Usage
halfEdge.getNext()
Parameters
None.
Returns
A HalfEdge object.
Description
Method; gets the next half edge on the current contour.
Note: Although half edges have a direction and a sequence order, edges do not.
Example
The following example stores the next half edge of the specified contour in the nextHalfEdge variable:
var shape = fl.getDocumentDOM().selection[0];
var hEdge = shape.edges[0].getHalfEdge( 0 );
var nextHalfEdge = hEdge.getNext();
halfEdge.getOppositeHalfEdge()
Availability
Flash MX 2004.
Usage
halfEdge.getOppositeHalfEdge()
Vedere la pagina 313
1 2 ... 309 310 311 312 313 314 315 316 317 318 319 ... 559 560

Commenti su questo manuale

Nessun commento