boxInColor method

bool boxInColor(
  1. Rectangle<double> rect,
  2. int color, {
  3. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool boxInColor(
  math.Rectangle<double> rect,
  int color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => gfx.boxColor(
  this,
  rect.left,
  rect.top,
  rect.right - 1,
  rect.bottom - 1,
  color,
  blendMode: blendMode,
);