bool isEllipse

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

Source

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