SKObject Class

Definition

Represents a tracked native object.

public abstract class SKObject : SkiaSharp.SKNativeObject
Inheritance
Derived

Remarks

This object wraps a native handle and keeps track of it's lifetime for the garbage collector. For a simple object, use SKNativeObject.

Properties

Handle

Gets or sets the handle to the underlying native object.

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.

Methods

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the SKObject 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.

DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

Applies to