diagonal property

double get diagonal

Implementation

double get diagonal => sqrt((width * width) + (height * height));