FillTriangle Method (GradientBrush)
In This Topic
Fills triangle with specified colors.
Syntax
'Declaration
Public Shared Sub FillTriangle( _
ByVal As DeviceContext, _
ByVal As Point, _
ByVal As Point, _
ByVal As Point, _
ByVal () As Color _
)
public static void FillTriangle(
DeviceContext ,
Point ,
Point ,
Point ,
Color[]
)
Parameters
- deviceContext
- A C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext indicates the dc.
- 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.
- colors
- A System.Drawing.Color array indicates the gradient colors.
See Also