[]
        
(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)
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.