bool isStadium

Whether this rounded rectangle has a side with no straight section.

Source

bool get isStadium {
  return (
    tlRadius == trRadius && trRadius == brRadius && brRadius == blRadius &&
    (width <= 2.0 * tlRadiusX || height <= 2.0 * tlRadiusY)
  );
}