Edit

Share via


CTFontCollection Class

Definition

Font collections are the standard mechanism used to enumerate fonts descriptors.

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

Constructors

CTFontCollection(CTFontCollectionOptions)

Creates a CTFontCollection that contains all of the available font descriptors.

CTFontCollection(CTFontDescriptor[], CTFontCollectionOptions)

Creates a CTFontCollection from the specified set of queryDescriptors.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

Methods

Dispose()

Releases the resources used by the CTFontCollection object.

Dispose(Boolean)

Releases the resources used by the CTFontCollection object.

Finalize()

Finalizer for the CTFontCollection object

GetMatchingFontDescriptors()

Gets the mathching font descriptors from this collection.

GetMatchingFontDescriptors(Comparison<CTFontDescriptor>)

Gets an array of font descriptors sorted by the specified sorting function.

GetMatchingFontDescriptors(CTFontCollectionOptions)

Returns an array of font descriptors that have the specified options.

WithFontDescriptors(CTFontDescriptor[], CTFontCollectionOptions)

Creates a copy of the CTFontCollection while adding the specified font descriptors.

Applies to