CTFontCollection.WithFontDescriptors Method

Definition

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

public CoreText.CTFontCollection WithFontDescriptors (CoreText.CTFontDescriptor[] queryDescriptors, CoreText.CTFontCollectionOptions options);

Parameters

queryDescriptors
CTFontDescriptor[]

The font descriptors to add.

options
CTFontCollectionOptions

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

Returns

Applies to