boxInColor method

bool boxInColor(
  1. SdlxFRect rect,
  2. SdlxColor color, {
  3. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool boxInColor(
  SdlxFRect rect,
  SdlxColor color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => gfx.boxColor(
  this,
  rect.x,
  rect.y,
  rect.x + rect.w - 1,
  rect.y + rect.h - 1,
  color,
  blendMode: blendMode,
);