lineColor method

bool lineColor(
  1. Point<double> p1,
  2. Point<double> p2,
  3. int color, {
  4. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool lineColor(
  math.Point<double> p1,
  math.Point<double> p2,
  int color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) =>
    gfx.lineColor(this, p1.x, p1.y, p2.x, p2.y, color, blendMode: blendMode);