operator - method

RRect operator -(
  1. RRect other
)

Implementation

RRect operator -(RRect other) {
  return RRect.fromLTRBAndCorners(
    left - other.left,
    top - other.top,
    right - other.right,
    bottom - other.bottom,
    bottomLeft: blRadius - other.blRadius,
    bottomRight: brRadius - other.brRadius,
    topRight: trRadius - other.trRadius,
    topLeft: tlRadius - other.tlRadius,
  );
}