operator * method

RRect operator *(
  1. double other
)

Implementation

RRect operator *(double other) {
  return RRect.fromLTRBAndCorners(
    left * other,
    top * other,
    right * other,
    bottom * other,
    bottomLeft: Radius.elliptical(
      blRadius.x * other,
      blRadius.y * other,
    ),
    bottomRight: Radius.elliptical(
      brRadius.x * other,
      brRadius.y * other,
    ),
    topRight: Radius.elliptical(
      trRadius.x * other,
      trRadius.y * other,
    ),
    topLeft: Radius.elliptical(
      tlRadius.x * other,
      tlRadius.y * other,
    ),
  );
}