lineRgba method

bool lineRgba(
  1. Point<double> p1,
  2. Point<double> p2,
  3. int r,
  4. int g,
  5. int b,
  6. int a, {
  7. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool lineRgba(
  math.Point<double> p1,
  math.Point<double> p2,
  int r,
  int g,
  int b,
  int a, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => gfx.lineRgba(
  this,
  p1.x,
  p1.y,
  p2.x,
  p2.y,
  r,
  g,
  b,
  a,
  blendMode: blendMode,
);