編輯

共用方式為


ISKCanvasViewController Interface

Definition

The interface that the Xamarin.Forms view uses to communicate with the native renderer.

public interface ISKCanvasViewController : Xamarin.Forms.IViewController
Derived
Implements

Methods

OnPaintSurface(SKPaintSurfaceEventArgs)

The method that is invoked when the native SkiaSharp surface is being repainted.

OnTouch(SKTouchEventArgs)

The method that is invoked when there is a touch event on the native view.

Events

GetCanvasSize

The event that is raised when the Xamarin.Forms view requests the size of the current SkiaSharp surface.

SurfaceInvalidated

The event that is raised when the Xamarin.Forms view requests the native view be repainted.

Applies to