roundedBoxInRgba method

bool roundedBoxInRgba(
  1. Rectangle<double> rect,
  2. double rad,
  3. int r,
  4. int g,
  5. int b,
  6. int a,
)

Implementation

bool roundedBoxInRgba(
    math.Rectangle<double> rect, double rad, int r, int g, int b, int a) {
  return gfx.roundedBoxRgba(this, rect.left, rect.top, rect.right - 1,
      rect.bottom - 1, rad, r, g, b, a);
}