CalendarView for WinForms
FillTriangle メソッド (GradientBrush)

C1.Win.C1Input.4.5.2 アセンブリ > C1.Framework.Drawing.Gdi 名前空間 > GradientBrush クラス : FillTriangle メソッド
A C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext indicates the dc.
A System.Drawing.Point indicates the vertex1 of triangle.
A System.Drawing.Point indicates the vertex2 of triangle.
A System.Drawing.Point indicates the vertex3 of triangle.
A System.Drawing.Color array indicates the gradient colors.
Fills triangle with specified colors.
シンタックス
'宣言
 
Public Shared Sub FillTriangle( _
   ByVal deviceContext As DeviceContext, _
   ByVal vertex1 As System.Drawing.Point, _
   ByVal vertex2 As System.Drawing.Point, _
   ByVal vertex3 As System.Drawing.Point, _
   ByVal colors() As System.Drawing.Color _
) 
public static void FillTriangle( 
   DeviceContext deviceContext,
   System.Drawing.Point vertex1,
   System.Drawing.Point vertex2,
   System.Drawing.Point vertex3,
   System.Drawing.Color[] colors
)

パラメータ

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.
参照

GradientBrush クラス
GradientBrush メンバ