Dart Documentationbox2dShapeType

ShapeType class

class ShapeType {
 // Circle and Polygon.
 static const int TYPE_COUNT = 2;

 static const int UNKNOWN = -1;
 static const int CIRCLE = 0;
 static const int POLYGON = 1;
}

Static Properties

const int CIRCLE #

static const int CIRCLE = 0;

const int POLYGON #

static const int POLYGON = 1;

const int TYPE_COUNT #

static const int TYPE_COUNT = 2;

const int UNKNOWN #

static const int UNKNOWN = -1;