nape.shape

..
Circle

Shape subtype representing a Circle

Edge

Edge class providing internal details of Polygon.

EdgeIterator

Haxe Iterator compatible iterator over Nape list.

EdgeList

Nape list of Edge type objects

Internally this list is at present implemented as a linked list with object pooled nodes and iterators with various fast paths made for standard access patterns (For instance accessing successive elements runs in constant time when using random access functions)

Iteration of this list can be done in various ways, but the preferred way on all targets, is through use of the foreach function:

list.foreach(function (obj) {
});
This method is inlined so that in haxe no closure will need to be created.

In AS3, a closure would need to be created in general, so for performance reasons you 'may' choose to use iteration as follows:
for (var i:int = 0; i < list.length; i++) {

Polygon

Polygon subtype of Shape.

Can be used to simulate any convex polygon.

Shape

Base type for Nape Shape's

ShapeIterator

Haxe Iterator compatible iterator over Nape list.

ShapeList

Nape list of Shape type objects

Internally this list is at present implemented as a linked list with object pooled nodes and iterators with various fast paths made for standard access patterns (For instance accessing successive elements runs in constant time when using random access functions)

Iteration of this list can be done in various ways, but the preferred way on all targets, is through use of the foreach function:

list.foreach(function (obj) {
});
This method is inlined so that in haxe no closure will need to be created.

In AS3, a closure would need to be created in general, so for performance reasons you 'may' choose to use iteration as follows:
for (var i:int = 0; i < list.length; i++) {

ShapeType

Enumeration of Nape Shape types.

ValidationResult

Enumeration of validation results for a Polygon.