getDensity method

double getDensity()

Get the density of the shape if you are having Chipmunk calculate mass properties for you.

Implementation

double getDensity() => _shape.getDensity();