margin property

double margin

Calculates the box's half-perimeter: dx + dy.

Implementation

double get margin => (maxX - minX) + (maxY - minY);