Input for WinForms
FillTriangle メソッド (DeviceContext)

C1.Win.Input.8 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス : FillTriangle メソッド
A System.Drawing.Color indicates the color of the vertex1.
A System.Drawing.Color indicates the color of the vertex2.
A System.Drawing.Color indicates the color of the vertex3.
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.
Gradient fills the triangle with specified colors.
シンタックス
'宣言
 
Public Sub FillTriangle( _
   ByVal color1 As System.Drawing.Color, _
   ByVal color2 As System.Drawing.Color, _
   ByVal color3 As System.Drawing.Color, _
   ByVal vertex1 As System.Drawing.Point, _
   ByVal vertex2 As System.Drawing.Point, _
   ByVal vertex3 As System.Drawing.Point _
) 
public void FillTriangle( 
   System.Drawing.Color color1,
   System.Drawing.Color color2,
   System.Drawing.Color color3,
   System.Drawing.Point vertex1,
   System.Drawing.Point vertex2,
   System.Drawing.Point vertex3
)

パラメータ

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

DeviceContext クラス
DeviceContext メンバ