diagonal property

double get diagonal

Get the diagonal of the constraints

Implementation

double get diagonal {
  return sqrt(maxWidth * maxWidth + maxHeight * maxHeight);
}