SKControl Class

Definition

A control that can be drawn on using SkiaSharp drawing commands.

public class SKControl : System.Windows.Forms.Control
Inheritance
SKControl

Constructors

SKControl()

Creates a new instance of the SKControl view.

Properties

CanvasSize

Gets the current canvas size.

Methods

Dispose(Boolean)

Releases the unmanaged resources used by the SKControl and optionally releases the managed resources.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnPaintSurface(SKPaintSurfaceEventArgs)

Implement this to draw on the canvas.

Events

PaintSurface

Occurs when the the canvas needs to be redrawn.

Applies to