Edit

SKPaintSurfaceEventArgs Class

Definition

Provides data for the OnPaintSurface callback.

public class SKPaintSurfaceEventArgs : EventArgs
Inheritance
SKPaintSurfaceEventArgs

Remarks

This class contains the drawing surface and information about its size and format for software-rendered Blazor canvas views.

Constructors

Name Description
SKPaintSurfaceEventArgs(SKSurface, SKImageInfo, SKImageInfo)

Initializes a new instance of the SKPaintSurfaceEventArgs class with separate user and raw dimensions.

SKPaintSurfaceEventArgs(SKSurface, SKImageInfo)

Initializes a new instance of the SKPaintSurfaceEventArgs class.

Properties

Name Description
Info

Gets the image information describing the user-visible surface dimensions.

RawInfo

Gets the image information describing the actual physical surface dimensions.

Surface

Gets the surface to draw on.

Applies to