編集

次の方法で共有


UIFontDescriptor.FromAttributes Method

Definition

Overloads

FromAttributes(NSDictionary)

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

FromAttributes(UIFontAttributes)

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

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

Weak dictionary of font attributes.

Returns

Attributes

Remarks

This can be used from a background thread.

Applies to

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

Weak dictionary of font attributes.

Returns

Remarks

This can be used from a background thread.

Applies to