UIFontDescriptor.FromAttributes UIFontDescriptor.FromAttributes Method

Definition

Overloads

FromAttributes(NSDictionary) FromAttributes(NSDictionary)

(Weak) Creates a UIFontDescriptor using a set of attributes contained in the dictionary.

FromAttributes(UIFontAttributes) FromAttributes(UIFontAttributes)

Creates a UIFontDescriptor using a set of attributes contained in the dictionary.

FromAttributes(NSDictionary) FromAttributes(NSDictionary)

(Weak) Creates a UIFontDescriptor using a set of attributes contained in the dictionary.

[Foundation.Export("fontDescriptorWithFontAttributes:")]
public static UIKit.UIFontDescriptor FromAttributes (Foundation.NSDictionary attributes);
static member FromAttributes : Foundation.NSDictionary -> UIKit.UIFontDescriptor

Parameters

attributes
NSDictionary NSDictionary

Weak dictionary of font attributes.

Returns

Remarks

This can be used from a background thread.

FromAttributes(UIFontAttributes) FromAttributes(UIFontAttributes)

Creates a UIFontDescriptor using a set of attributes contained in the dictionary.

public static UIKit.UIFontDescriptor FromAttributes (UIKit.UIFontAttributes attributes);
static member FromAttributes : UIKit.UIFontAttributes -> UIKit.UIFontDescriptor

Parameters

attributes
UIFontAttributes UIFontAttributes

Weak dictionary of font attributes.

Returns

Remarks

This can be used from a background thread.

Applies to