[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcGraphicsExt.DrawPdfLine

DrawPdfLine Method

DrawPdfLine(GcGraphics, IReadOnlyList<PointF>, float, Color, float[], LineEndingStyle, LineEndingStyle, Color)

Draws a line composed of several segments, with start and end markers.

Declaration
public static void DrawPdfLine(this GcGraphics g, IReadOnlyList<PointF> points, float lineWidth, Color lineColor, float[] lineDashPattern, LineEndingStyle lineStartStyle, LineEndingStyle lineEndStyle, Color lineEndingsFillColor)
Public Shared Sub DrawPdfLine(g As GcGraphics, points As IReadOnlyList(Of PointF), lineWidth As Single, lineColor As Color, lineDashPattern As Single(), lineStartStyle As LineEndingStyle, lineEndStyle As LineEndingStyle, lineEndingsFillColor As Color)
Parameters
Type Name Description
GcGraphics g

The graphics to draw on.

IReadOnlyList<PointF> points

An array of points defining the line.

float lineWidth

The line width.

Color lineColor

The line color.

float[] lineDashPattern

The dash pattern, null indicates a solid line.

LineEndingStyle lineStartStyle

The style of the start marker.

LineEndingStyle lineEndStyle

The style of the end marker.

Color lineEndingsFillColor

The fill color used to render the markers.