編輯

共用方式為


SKSurface.Snapshot Method

Definition

Overloads

Snapshot()

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

Snapshot(SKRectI)

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)

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

Parameters

bounds
SKRectI

Returns

Applies to