DrawPath(IPath,Color,Single,DashStyle) Method
In This Topic
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.
Syntax
'Declaration
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
)
Parameters
- 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).
See Also