Modifier

Partager via


SKPictureRecorder.EndRecordingAsDrawable Method

Definition

Signal that the caller is done recording.

public SkiaSharp.SKDrawable EndRecordingAsDrawable ();

Returns

Returns the SKDrawable containing the recorded content.

Remarks

This invalidates the canvas returned by BeginRecording and RecordingCanvas.

Unlike EndRecording, which returns an immutable picture, the returned drawable may contain live references to other drawables (if they were added to the recording canvas) and therefore this drawable will reflect the current state of those nested drawables anytime it is drawn or a new picture is snapped from it (by calling Snapshot).

Applies to