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 for the Vertex object

You can use the following methods with the Vertex object:

Method

Description

vertex.getHalfEdge()

Gets a HalfEdge object that shares this vertex.

vertex.setLocation()

Sets the location of the vertex.

Property summary for the Vertex object

The following properties are available for the Vertex object:

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.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004581.html