[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.GradientBrush.FillTriangle

FillTriangle Method

FillTriangle(DeviceContext, Point, Point, Point, Color[])

Fills triangle with specified colors.

Declaration
public static void FillTriangle(DeviceContext deviceContext, Point vertex1, Point vertex2, Point vertex3, Color[] colors)
Parameters
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.