CTFontCollection Constructors

Definition

Overloads

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.

CTFontCollection(CTFontCollectionOptions)

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

public CTFontCollection (CoreText.CTFontCollectionOptions options);
new CoreText.CTFontCollection : CoreText.CTFontCollectionOptions -> CoreText.CTFontCollection

Parameters

options
CTFontCollectionOptions

Configuration options for creating the font collection, can be null.

Applies to

CTFontCollection(CTFontDescriptor[], CTFontCollectionOptions)

Creates a CTFontCollection from the specified set of queryDescriptors.

public CTFontCollection (CoreText.CTFontDescriptor[] queryDescriptors, CoreText.CTFontCollectionOptions options);
new CoreText.CTFontCollection : CoreText.CTFontDescriptor[] * CoreText.CTFontCollectionOptions -> CoreText.CTFontCollection

Parameters

queryDescriptors
CTFontDescriptor[]

An array of font descriptors, can be null.

Applies to