共用方式為


UIFontDescriptor.FromAttributes 方法

定義

多載

FromAttributes(NSDictionary)

(Weak) 使用字典中包含的一組屬性建立 UIFontDescriptor。

FromAttributes(UIFontAttributes)

使用字典中包含的一組屬性建立 UIFontDescriptor。

FromAttributes(NSDictionary)

(Weak) 使用字典中包含的一組屬性建立 UIFontDescriptor。

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

參數

attributes
NSDictionary

字型屬性的弱式字典。

傳回

屬性

備註

這可從背景執行緒使用。

適用於

FromAttributes(UIFontAttributes)

使用字典中包含的一組屬性建立 UIFontDescriptor。

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

參數

attributes
UIFontAttributes

字型屬性的弱式字典。

傳回

備註

這可從背景執行緒使用。

適用於