roundedBoxInRgba method

bool roundedBoxInRgba(
  1. SdlxFRect 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(
  SdlxFRect rect,
  double rad,
  int r,
  int g,
  int b,
  int a, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => gfx.roundedBoxRgba(
  this,
  rect.x,
  rect.y,
  rect.x + rect.w - 1,
  rect.y + rect.h - 1,
  rad,
  r,
  g,
  b,
  a,
  blendMode: blendMode,
);