roundedRectangleColor method

bool roundedRectangleColor(
  1. SdlxFRect rect,
  2. double rad,
  3. SdlxColor color, {
  4. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool roundedRectangleColor(
  SdlxFRect rect,
  double rad,
  SdlxColor color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => gfx.roundedRectangleColor(
  this,
  rect.x,
  rect.y,
  rect.x + rect.w,
  rect.y + rect.h,
  rad,
  color,
  blendMode: blendMode,
);