Edit

Share via


SKSurface.Snapshot Method

Definition

Overloads

Name Description
Snapshot()

Takes a snapshot of the surface and returns it as an image.

Snapshot(SKRectI)

Creates an image from the specified area of the surface.

Snapshot()

Takes a snapshot of the surface and returns it as an image.

public SkiaSharp.SKImage Snapshot();

Returns

An SKImage that contains a snapshot of the current image.

Remarks

You can use this method to take an SKImage snapshot of the current state of the surface.

Applies to

Snapshot(SKRectI)

Creates an image from the specified area of the surface.

public SkiaSharp.SKImage Snapshot(SkiaSharp.SKRectI bounds);

Parameters

bounds
SKRectI

The bounds of the area to capture.

Returns

A new SKImage containing the captured area.

Applies to