Table of Contents

Method DrawBorderWithPaint

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

DrawBorderWithPaint(SKCanvas, SKPaint, SKRect, float)

Draws a border around the specified rectangle using the provided paint and border width.

public static void DrawBorderWithPaint(SKCanvas dc, SKPaint paint, SKRect rect, float borderWidth = 1)

Parameters

dc SKCanvas

The SKCanvas on which the border will be drawn.

paint SKPaint

The SKPaint used to define the appearance of the border.

rect SKRect

The SKRect representing the rectangle around which the border will be drawn.

borderWidth float

The width of the border. The default value is 1.