編輯

共用方式為


CGImageSource Class

Definition

Image Loader.

public class CGImageSource : IDisposable, ObjCRuntime.INativeObject
type CGImageSource = class
    interface INativeObject
    interface IDisposable
Inheritance
CGImageSource
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

ImageCount

Number of images loaded (does not include the Thumbnail).

TypeIdentifier

The image type of the underling image.

TypeIdentifiers

The type identifiers for the formats supported by the image loader.

Methods

CopyAuxiliaryDataInfo(nuint, CGImageAuxiliaryDataType)
CopyMetadata(nint, CGImageOptions)
CopyMetadata(nint, NSDictionary)
CopyProperties(CGImageOptions, Int32)
CopyProperties(CGImageOptions)
CopyProperties(NSDictionary, Int32)
CopyProperties(NSDictionary)
CreateImage(Int32, CGImageOptions)

Creates a CGImage from this loader.

CreateIncremental(CGImageOptions)

Creates an incremental image loader.

CreateThumbnail(Int32, CGImageThumbnailOptions)

Creates a CGImage thumbnail from this loader..

Dispose()

Releases the resources used by the CGImageSource object.

Dispose(Boolean)

Releases the resources used by the CGImageSource object.

Finalize()

Finalizer for the CGImageSource object

FromData(NSData, CGImageOptions)

Creates an image loader from the block of bytes.

FromData(NSData)

Creates an image loader from the block of bytes.

FromDataProvider(CGDataProvider, CGImageOptions)

Creates an image loader using a dynamic data provider.

FromDataProvider(CGDataProvider)

Creates an image loader using a dynamic data provider.

FromUrl(NSUrl, CGImageOptions)

Creates an image loader that loads the file from the given url.

FromUrl(NSUrl)

Creates an image loader that loads the file from the given url.

GetPrimaryImageIndex()
GetProperties(CGImageOptions)
GetProperties(Int32, CGImageOptions)
GetStatus()

Returns the loader status.

GetStatus(Int32)

Returns the loader status.

GetTypeID()

Type identifier for the ImageIO.CGImageSource type.

RemoveCache(nint)
UpdateData(NSData, Boolean)

Pushes new data into a dynamic image loader.

UpdateDataProvider(CGDataProvider, Boolean)

Applies to