Adobe Extending Flash Professional CS4 Manuale Utente Pagina 531

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 530
509
EXTENDING FLASH CS4 PROFESSIONAL
Vertex object
Description
Read-only property; the x location of the vertex, in pixels.
Example
The following example displays the location of the x and y values of the vertex in the Output panel:
var shape = fl.getDocumentDOM().selection[0];
var hEdge = shape.edges[0].getHalfEdge(0);
var vertex = hEdge.getVertex();
fl.trace('x location of vertex is: ' + vertex.x);
fl.trace('y location of vertex is: ' + vertex.y);
vertex.y
Availability
Flash MX 2004.
Usage
vertex.y
Description
Read-only property; the y location of the vertex, in pixels.
Example
See vertex.x.
Vedere la pagina 530
1 2 ... 526 527 528 529 530 531 532 533 534 535 536 ... 559 560

Commenti su questo manuale

Nessun commento