Halfedge.id - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Description
Method; gets the
Example
The following example stores the Vertex object at the head of
var shape = fl.getDocumentDOM().selection[0];
var edge = shape.edges[0];
var hEdge = edge.getHalfEdge(0);
var vertex = hEdge.getVertex();

halfEdge.id

Availability
Flash MX 2004.
Usage
halfEdge.id
Description
Read-only property; a unique integer identifier for the halfEdge object.
Example
The following example displays a unique identifier for the specified half edge in the Output
panel:
var shape = fl.getDocumentDOM().selection[0];
alert(shape.contours[0].getHalfEdge().id);
198
Chapter 3: Objects
Vertex object
at the head of the halfEdge object.
in the
variable:
hEdge
vertex

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents