Edit

Share via


CTFontCollection.GetMatchingFontDescriptors Method

Definition

Overloads

GetMatchingFontDescriptors()

Gets the mathching font descriptors from this collection.

GetMatchingFontDescriptors(CTFontCollectionOptions)

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

GetMatchingFontDescriptors(Comparison<CTFontDescriptor>)

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

GetMatchingFontDescriptors()

Gets the mathching font descriptors from this collection.

public CoreText.CTFontDescriptor[] GetMatchingFontDescriptors ();
member this.GetMatchingFontDescriptors : unit -> CoreText.CTFontDescriptor[]

Returns

An array of font descriptors.

Applies to

GetMatchingFontDescriptors(CTFontCollectionOptions)

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

[ObjCRuntime.TV(12, 0)]
[ObjCRuntime.Watch(5, 0)]
public CoreText.CTFontDescriptor[] GetMatchingFontDescriptors (CoreText.CTFontCollectionOptions options);
member this.GetMatchingFontDescriptors : CoreText.CTFontCollectionOptions -> CoreText.CTFontDescriptor[]

Parameters

options
CTFontCollectionOptions

The options to match.

Returns

An array of font descriptors that have the specified options.

Attributes

Applies to

GetMatchingFontDescriptors(Comparison<CTFontDescriptor>)

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

public CoreText.CTFontDescriptor[] GetMatchingFontDescriptors (Comparison<CoreText.CTFontDescriptor> comparer);
member this.GetMatchingFontDescriptors : Comparison<CoreText.CTFontDescriptor> -> CoreText.CTFontDescriptor[]

Parameters

comparer
Comparison<CTFontDescriptor>

Sorting method.

Returns

An array of font descriptors.

Applies to