Packagecom.adobe.flashpro
Classpublic class Contour
InheritanceContour Inheritance com.adobe.csawlib.CSHostObject

A contour represents a closed path of half edges on the boundary of a shape.



Public Properties
 PropertyDefined By
  fill : Object
A read/write property which references a fill object.
Contour
  interior : Boolean
[read-only] Returns true if the contour encloses an area, false otherwise.
Contour
  orientation : int
[read-only] An integer indicating the orientation of the contour.
Contour
Public Methods
 MethodDefined By
  
returns a halfEdge object on the contour.
Contour
Property Detail
fillproperty
fill:Object

A read/write property which references a fill object. This is similar to the Shape.getCustomFill() and Shape.setCustomFill(fillObject) functions.


Implementation
    public function get fill():Object
    public function set fill(value:Object):void
interiorproperty 
interior:Boolean  [read-only]

Returns true if the contour encloses an area, false otherwise.


Implementation
    public function get interior():Boolean
orientationproperty 
orientation:int  [read-only]

An integer indicating the orientation of the contour. -1 for counterclockwise, 1 for clockwise, and 0 for a contour with no area.


Implementation
    public function get orientation():int
Method Detail
getHalfEdge()method
public function getHalfEdge():HalfEdge

returns a halfEdge object on the contour.

Returns
HalfEdge