Input for WinForms
PaintPolygon メソッド

C1.Win.Input.8 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス : PaintPolygon メソッド
A System.Drawing.Point structures that specify the vertices of the polygon.
Paints a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
シンタックス
'宣言
 
Public Overridable Sub PaintPolygon( _
   ByVal vertices() As System.Drawing.Point _
) 
public virtual void PaintPolygon( 
   System.Drawing.Point[] vertices
)

パラメータ

vertices
A System.Drawing.Point structures that specify the vertices of the polygon.
例外
例外解説
Defines an exception class to handle the system error.
解説

The polygon is closed automatically by drawing a line from the last vertex to the first.

Windows 95/98/Me: PaintPolygon cannot draw more than a certain number of points. The limit depends on the line width (that is, the width of the pen selected into the DC) Line widthMaximum points allowed line width is 1 16K line width > 1 (that is, wideline) and device supports wideline 16K line width > 1 but device does not support wideline approximately 1360 (that is, approximately 16K/12)

Any extra points are ignored. To draw a line with more points, divide the data into groups that have less than the maximum number of points and call the function for each group of points. Remember to connect the line segments.

参照

DeviceContext クラス
DeviceContext メンバ