roundedBoxInRgba method

bool roundedBoxInRgba(
  1. Rectangle<double> rect,
  2. double rad,
  3. int r,
  4. int g,
  5. int b,
  6. int a, {
  7. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

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