SKPicture Class

Definition

Recorded drawing operations made to a SKCanvas to be played back at a later time.

public class SKPicture : SkiaSharp.SKObject
Inheritance

Remarks

This base class handles serialization and a few other miscellany.

Properties

CullRect

Gets the culling rectangle for this picture.

Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IgnorePublicDispose

Gets or sets a value indicating whether the call the public Dispose() should be no-op.

(Inherited from SKNativeObject)
IsDisposed

Gets or sets a value indicating whether the object has already been disposed.

(Inherited from SKNativeObject)
OwnsHandle

Gets a value indicating whether this object should destroy the underlying native object.

(Inherited from SKObject)
UniqueId

Gets the non-zero value unique among all pictures.

Methods

Deserialize(IntPtr, Int32)
Deserialize(ReadOnlySpan<Byte>)
Deserialize(SKData)
Deserialize(SKStream)
Deserialize(Stream)
Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the SKPicture and optionally releases the managed resources.

DisposeInternal()

Triggers a dispose, ignoring the value of IgnorePublicDispose.

(Inherited from SKNativeObject)
DisposeManaged()

Implemented by derived SKObject types to destroy any managed objects.

(Inherited from SKObject)
DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

(Inherited from SKObject)
DisposeUnownedManaged() (Inherited from SKObject)
Serialize()
Serialize(SKWStream)
Serialize(Stream)
ToShader()
ToShader(SKShaderTileMode, SKShaderTileMode)
ToShader(SKShaderTileMode, SKShaderTileMode, SKMatrix, SKRect)
ToShader(SKShaderTileMode, SKShaderTileMode, SKRect)

Applies to