void renderTriangle(num x1, num y1, num x2, num y2, num x3, num y3, int color)

Source

void renderTriangle(num x1, num y1, num x2, num y2, num x3, num y3, int color) {
  _renderContext.renderTriangle(this, x1, y1, x2, y2, x3, y3, color);
}