[]
Gradient fills the triangle with specified colors.
public void FillTriangle(Color color1, Color color2, Color color3, Point vertex1, Point vertex2, Point vertex3)
Type | Name | Description |
---|---|---|
Color | color1 | A Color indicates the color of the vertex1. |
Color | color2 | A Color indicates the color of the vertex2. |
Color | color3 | A Color indicates the color of the vertex3. |
Point | vertex1 | A Point indicates the vertex1 of triangle. |
Point | vertex2 | A Point indicates the vertex2 of triangle. |
Point | vertex3 | A Point indicates the vertex3 of triangle. |