[]
Fills triangle with specified colors.
public static void FillTriangle(DeviceContext deviceContext, Point vertex1, Point vertex2, Point vertex3, Color[] colors)
| Type | Name | Description |
|---|---|---|
| DeviceContext | deviceContext | A DeviceContext indicates the dc. |
| 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. |
| Color[] | colors | A Color array indicates the gradient colors. |