Share via


UIFontDescriptor.GetMatchingFontDescriptors Method

Definition

Overloads

Name Description
GetMatchingFontDescriptors(NSSet)
GetMatchingFontDescriptors(UIFontDescriptorAttribute[])

Retrieve a UIFontDescriptor with an explicit set of features.

GetMatchingFontDescriptors(NSSet)

[Foundation.Export("matchingFontDescriptorsWithMandatoryKeys:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIFontDescriptor[] GetMatchingFontDescriptors(Foundation.NSSet? mandatoryKeys);
[<Foundation.Export("matchingFontDescriptorsWithMandatoryKeys:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]
override this.GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]

Parameters

mandatoryKeys
NSSet

Returns

Attributes

Applies to

GetMatchingFontDescriptors(UIFontDescriptorAttribute[])

Retrieve a UIFontDescriptor with an explicit set of features.

public UIKit.UIFontDescriptor[] GetMatchingFontDescriptors(params UIKit.UIFontDescriptorAttribute[] mandatoryKeys);
member this.GetMatchingFontDescriptors : UIKit.UIFontDescriptorAttribute[] -> UIKit.UIFontDescriptor[]

Parameters

mandatoryKeys
UIFontDescriptorAttribute[]

The list of mandatory keys that you desire on the font descriptor.

Returns

Remarks

This can be used from a background thread.

Applies to