fill Triangle
Draws a filled triangle on the image.
Return
A new Image object with the triangle drawn on the image
Parameters
The X coordinate of the first vertex
The Y coordinate of the first vertex
The X coordinate of the second vertex
The Y coordinate of the second vertex
The X coordinate of the third vertex
The Y coordinate of the third vertex
The color of the triangle
Draws a filled triangle on the image, linear interpolating three colors to the center.
Return
A new Image object with the triangle drawn on the image
Parameters
The X coordinate of the first vertex
The Y coordinate of the first vertex
The X coordinate of the second vertex
The Y coordinate of the second vertex
The X coordinate of the third vertex
The Y coordinate of the third vertex
The color of the triangle at the first vertex
The color of the triangle at the second vertex
The color of the triangle at the third vertex