Table of Contents

Method DrawHorzLine

Namespace
Alternet.Skia
Assembly
Alternet.UI.Common.dll

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

dc SKCanvas

The SKCanvas on which the line will be drawn.

brush SKPaint

The SKPaint used to define the color, style, and other properties of the line.

point SKPoint

The starting point of the line, represented as a SKPoint.

length float

The length of the horizontal line.

width float

The width of the horizontal line.