Edit

SKPaintMetalSurfaceEventArgs Class

Definition

Provides data for the PaintSurface event.

public class SKPaintMetalSurfaceEventArgs : EventArgs
Inheritance
SKPaintMetalSurfaceEventArgs

Constructors

Name Description
SKPaintMetalSurfaceEventArgs(SKSurface, GRBackendRenderTarget, GRSurfaceOrigin, SKColorType)

Initializes a new instance of the SKPaintMetalSurfaceEventArgs event arguments.

SKPaintMetalSurfaceEventArgs(SKSurface, GRBackendRenderTarget, GRSurfaceOrigin, SKImageInfo, SKImageInfo)

Initializes a new instance of the SKPaintMetalSurfaceEventArgs event arguments.

SKPaintMetalSurfaceEventArgs(SKSurface, GRBackendRenderTarget, GRSurfaceOrigin, SKImageInfo)

Initializes a new instance of the SKPaintMetalSurfaceEventArgs event arguments.

SKPaintMetalSurfaceEventArgs(SKSurface, GRBackendRenderTarget)

Initializes a new instance of the SKPaintMetalSurfaceEventArgs event arguments.

Properties

Name Description
BackendRenderTarget

Gets the render target that is currently being drawn.

ColorType

Gets the color type of the render target.

Info

Gets the image information describing the surface that is currently being drawn.

Origin

Gets the surface origin of the render target.

RawInfo

Gets the raw image information describing the surface without any applied scaling.

Surface

Gets the surface that is currently being drawn on.

Applies to