trigonColor method

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

Implementation

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