Draws a path using a specified line color, width and style.
If the value of lineStyle parameter is not DashStyle.Solid, the path is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.
シンタックス
'宣言
Public Overloads Sub DrawPath( _
ByVal As IPath, _
ByVal As System.Drawing.Color, _
ByVal As System.Single, _
Optional ByVal As DashStyle _
)
public void DrawPath(
IPath ,
System.Drawing.Color ,
System.float ,
DashStyle
)
パラメータ
- path
- An object implementing the IPath interface that represents the path to draw.
- lineColor
- The color of lines used to draw the path.
- lineWidth
- The width of lines used to draw the path.
- lineStyle
- The style of lines used to draw the path (solid by default).
参照