roundedBoxRgba method

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

Implementation

int roundedBoxRgba(
    math.Rectangle<double> rect, int rad, int r, int g, int b, int a) {
  // 241
  return gfx.roundedBoxRgba(this, rect.left.toInt(), rect.top.toInt(),
      rect.right.toInt(), rect.bottom.toInt(), rad, r, g, b, a);
}