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

You can use the following method with the Contour object:

Method

Description

contour.getHalfEdge()

Returns a HalfEdge object on the contour of the selection.

Property summary

You can use the following properties with the Contour object:

Property

Description

contour.fill

A Fill object.

contour.interior

Read-only; the value is true if the contour encloses an area; false otherwise.

contour.orientation

Read-only; an integer indicating the orientation of the contour.