rectangleColor method

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

Implementation

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