DioDocs for PDF
DrawPolygon(Quadrilateral,Color,Single,DashStyle) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > DrawPolygon メソッド : DrawPolygon(Quadrilateral,Color,Single,DashStyle) メソッド
A quadrilateral specifying the polygon.
The line color.
The line width.
The line style (solid by default).
Draws a polygon specified by an array of points, using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the polygon is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

シンタックス
'宣言
 
Public Overloads Sub DrawPolygon( _
   ByVal quadrilateral As Quadrilateral, _
   ByVal lineColor As System.Drawing.Color, _
   ByVal lineWidth As System.Single, _
   Optional ByVal lineStyle As DashStyle _
) 
public void DrawPolygon( 
   Quadrilateral quadrilateral,
   System.Drawing.Color lineColor,
   System.float lineWidth,
   DashStyle lineStyle
)

パラメータ

quadrilateral
A quadrilateral specifying the polygon.
lineColor
The line color.
lineWidth
The line width.
lineStyle
The line style (solid by default).
参照

GcGraphics クラス
GcGraphics メンバ
オーバーロード一覧