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 As Quadrilateral, _
ByVal As System.Drawing.Color, _
ByVal As System.Single, _
Optional ByVal As DashStyle _
)
public void DrawPolygon(
Quadrilateral ,
System.Drawing.Color ,
System.float ,
DashStyle
)
パラメータ
- quadrilateral
- A quadrilateral specifying the polygon.
- lineColor
- The line color.
- lineWidth
- The line width.
- lineStyle
- The line style (solid by default).
参照