編輯

共用方式為


SKManagedPixelSerializer Class

Definition

Caution

This API is now deprecated.

Represents a mechanism for serializing pixels.

public abstract class SKManagedPixelSerializer : SkiaSharp.SKPixelSerializer
[System.Obsolete]
public abstract class SKManagedPixelSerializer : SkiaSharp.SKPixelSerializer
Inheritance
SKManagedPixelSerializer
Attributes

Constructors

SKManagedPixelSerializer()

Creates a new instance of SKManagedPixelSerializer with an empty buffer.

Properties

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)

Methods

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

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

(Inherited from SKPixelSerializer)
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)
Encode(SKPixmap)

Encode the specified pixel data.

(Inherited from SKPixelSerializer)
OnEncode(SKPixmap)

Implemented by derived SKManagedPixelSerializer types to encode the specified pixel data.

OnEncode(SKPixmap)

Implemented by derived SKPixelSerializer types to encode the specified pixel data.

(Inherited from SKPixelSerializer)
OnUseEncodedData(IntPtr, IntPtr)

Implemented by derived SKManagedPixelSerializer types to determine whether the caller should use the specified encoded data instead of encoding a new version.

OnUseEncodedData(IntPtr, IntPtr)

Implemented by derived SKPixelSerializer types to determine whether the caller should use the specified encoded data instead of encoding a new version.

(Inherited from SKPixelSerializer)
UseEncodedData(IntPtr, UInt64)

Determines whether the serializer wants to use the specified encoded data instead of encoding a new version.

(Inherited from SKPixelSerializer)

Applies to