Table of Contents

Method DrawVertLine

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

DrawVertLine(SKCanvas, SKPaint, SKPoint, float, float)

Draws a vertical line on the specified canvas.

public static void DrawVertLine(SKCanvas dc, SKPaint brush, SKPoint point, float length, float width)

Parameters

dc SKCanvas

The SKCanvas on which the vertical 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 vertical line, representing the top-left corner of the line's bounding rectangle.

length float

The length of the vertical line, measured in the coordinate space of the canvas.

width float

The width of the vertical line, measured in the coordinate space of the canvas.