[]
Gradient fills the triangle with specified colors.
public void FillTriangle(Color color1, Color color2, Color color3, Point vertex1, Point vertex2, Point vertex3)
Public Sub FillTriangle(color1 As Color, color2 As Color, color3 As Color, vertex1 As Point, vertex2 As Point, vertex3 As Point)
| 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. |