FillTriangle Method (DeviceContext)
In This Topic
Gradient fills the triangle with specified colors.
Syntax
'Declaration
Public Sub FillTriangle( _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Point, _
ByVal As Point, _
ByVal As Point _
)
public void FillTriangle(
Color ,
Color ,
Color ,
Point ,
Point ,
Point
)
Parameters
- color1
- A System.Drawing.Color indicates the color of the vertex1.
- color2
- A System.Drawing.Color indicates the color of the vertex2.
- color3
- A System.Drawing.Color indicates the color of the vertex3.
- vertex1
- A System.Drawing.Point indicates the vertex1 of triangle.
- vertex2
- A System.Drawing.Point indicates the vertex2 of triangle.
- vertex3
- A System.Drawing.Point indicates the vertex3 of triangle.
See Also