Method DrawHorzLine
DrawHorzLine(SKCanvas, SKPaint, SKPoint, float, float)
Draws a horizontal line on the specified canvas.
public static void DrawHorzLine(SKCanvas dc, SKPaint brush, SKPoint point, float length, float width)
Parameters
dcSKCanvasThe SKCanvas on which the line will be drawn.
brushSKPaintThe SKPaint used to define the color, style, and other properties of the line.
pointSKPointThe starting point of the line, represented as a SKPoint.
lengthfloatThe length of the horizontal line.
widthfloatThe width of the horizontal line.