UIFontDescriptor.GetMatchingFontDescriptors Method

Definition

Overloads

GetMatchingFontDescriptors(UIFontDescriptorAttribute[])

Retrieve a UIFontDescriptor with an explicit set of features.

GetMatchingFontDescriptors(NSSet)

Retrieve a UIFontDescriptor with an explicit set of features.

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

GetMatchingFontDescriptors(NSSet)

Retrieve a UIFontDescriptor with an explicit set of features.

[Foundation.Export("matchingFontDescriptorsWithMandatoryKeys:")]
public virtual UIKit.UIFontDescriptor[] GetMatchingFontDescriptors (Foundation.NSSet mandatoryKeys);
abstract member GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]
override this.GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]

Parameters

mandatoryKeys
NSSet

Mandatory keys that must be present.

This parameter can be null.

Returns

Attributes

Remarks

This can be used from a background thread.

Applies to