Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 535

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 534
513
Last updated 5/2/2011
Chapter 48: Vertex object
Availability
Flash MX 2004.
Description
The Vertex object is the part of the shape data structure that holds the coordinate data.
Method summary
You can use the following methods with the Vertex object:
Property summary
The following properties are available for the Vertex object:
vertex.getHalfEdge()
Availability
Flash MX 2004.
Usage
vertex.getHalfEdge()
Parameters
None.
Returns
A HalfEdge object.
Description
Method; gets a HalfEdge object that shares this vertex.
Example
The following example shows how to get other half edges that share the same vertex:
Method Description
vertex.getHalfEdge() Gets a HalfEdge object that shares this vertex.
vertex.setLocation() Sets the location of the vertex.
Property Description
vertex.x Read-only; the x location of the vertex in pixels.
vertex.y Read-only; the y location of the vertex in pixels.
Zobrazit stránku 534
1 2 ... 530 531 532 533 534 535 536 537 538 539 540 ... 564 565

Komentáře k této Příručce

Žádné komentáře