calculateFixedDistance method
Calculates the fixed distance based on the rectangle and angle
Implementation
int calculateFixedDistance(double width, double height, double angle) {
if (isFixedDistance) {
return fixedDistance;
} else {
int baseSize = _selectWidthOrHeightByAngle(width, height, angle);
return (baseSize * proportionalDistance).toInt();
}
}