[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillTriangle

FillTriangle Method

FillTriangle(Color, Color, Color, Point, Point, Point)

Gradient fills the triangle with specified colors.

Declaration
public void FillTriangle(Color color1, Color color2, Color color3, Point vertex1, Point vertex2, Point vertex3)
Parameters
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.