rectangleRgba method

bool rectangleRgba(
  1. SdlxFRect rect,
  2. int r,
  3. int g,
  4. int b,
  5. int a, {
  6. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool rectangleRgba(
  SdlxFRect rect,
  int r,
  int g,
  int b,
  int a, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => gfx.rectangleRgba(
  this,
  rect.x,
  rect.y,
  rect.x + rect.w,
  rect.y + rect.h,
  r,
  g,
  b,
  a,
  blendMode: blendMode,
);