Edit

Share via


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);
member this.WithFontDescriptors : CoreText.CTFontDescriptor[] * CoreText.CTFontCollectionOptions -> CoreText.CTFontCollection

Parameters

queryDescriptors
CTFontDescriptor[]

The font descriptors to add.

options
CTFontCollectionOptions

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

Returns

Applies to