Contour Object; Contour.gethalfedge() - 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

Contour object

Availability
Flash MX 2004.
Description
A Contour object represents a closed path of half edges on the boundary of a shape.
Method summary for the Contour object
You can use the following method with the Contour object:
Property

contour.getHalfEdge()

Property summary for the Contour object
You can use the following properties with the Contour object:
Property
contour.interior
contour.orientation
contour.getHalfEdge()
Availability
Flash MX 2004.
Usage
contour.getHalfEdge()
Parameters
None.
Returns
A
HalfEdge
object.
Description
Method; returns a
Example
This example traverses all the contours of a selected shape and shows the coordinates of the
vertices in the Output panel:
// with a shape selected
var elt = fl.getDocumentDOM().selection[0];
56
Chapter 3: Objects
Description
Method; returns a
Description
Read-only: the value is
otherwise.
Read-only; an integer indicating the orientation of the contour.
HalfEdge object
on the contour of the selection.
HalfEdge object
on the contour of the selection.
if the contour encloses an area;
true
CHAPTER 3
Objects
false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents