filledPolygonRgba method

bool filledPolygonRgba(
  1. List<Point<double>> ps,
  2. int r,
  3. int g,
  4. int b,
  5. int a,
)

Implementation

bool filledPolygonRgba(
    List<math.Point<double>> ps, int r, int g, int b, int a) {
  var xsPointer = ps.callocInt16X();
  var ysPointer = ps.callocInt16Y();
  var result = gfx.filledPolygonRgba(
      this, xsPointer, ysPointer, ps.length, r, g, b, a);
  calloc.free(xsPointer);
  calloc.free(ysPointer);
  return result;
}