title: how to draw a triangle with PIL?
body: <p>i am trying to draw a triangle with PIL ImageDraw
  this is the code that i have </p>
  
  <pre><code>    t1 = int(tri[0])
      t2 = int(tri[1])
      t3 = int(tri[2])
      t4 = int(tri[3])
      t5 = int(tri[4])
      t6 = int(tri[5])
      t7 = int(tri[6])
      t8 = int(tri[7])
      t9 = int(tri[8])
      t10 = int(tri[9])
      draw.polygon((t1,t2),(t3,t4),(t5,t6), fill=(t7,t8,t9,t10))
  </code></pre>
  
  <p>i am getting the error </p>
  
  <blockquote>
    <p>TypeError: polygon() got multiple values for argument 'fill'</p>
  </blockquote>
  
  <p>is there any way that i can make a triangle without getting this error</p>
  
  <p>python 2.7</p>