rectangleRgba method

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

Implementation

bool rectangleRgba(
  math.Rectangle<double> rect,
  int r,
  int g,
  int b,
  int a, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => gfx.rectangleRgba(
  this,
  rect.left,
  rect.top,
  rect.right,
  rect.bottom,
  r,
  g,
  b,
  a,
  blendMode: blendMode,
);