boxColor method

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

Implementation

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