編集

次の方法で共有


UIFontDescriptor.CreateWithAttributes Method

Definition

Overloads

CreateWithAttributes(NSDictionary)

Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.

CreateWithAttributes(UIFontAttributes)

Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.

CreateWithAttributes(NSDictionary)

Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.

[Foundation.Export("fontDescriptorByAddingAttributes:")]
public virtual UIKit.UIFontDescriptor CreateWithAttributes (Foundation.NSDictionary attributes);
abstract member CreateWithAttributes : Foundation.NSDictionary -> UIKit.UIFontDescriptor
override this.CreateWithAttributes : Foundation.NSDictionary -> UIKit.UIFontDescriptor

Parameters

attributes
NSDictionary

dictionary containing the attributes.

Returns

New UIFontDescriptor containing the added attributes.

Attributes

Remarks

Use the strongly typed version instead.

This can be used from a background thread.

Applies to

CreateWithAttributes(UIFontAttributes)

Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.

public UIKit.UIFontDescriptor CreateWithAttributes (UIKit.UIFontAttributes attributes);
member this.CreateWithAttributes : UIKit.UIFontAttributes -> UIKit.UIFontDescriptor

Parameters

attributes
UIFontAttributes

dictionary containing the attributes.

Returns

New UIFontDescriptor containing the added attributes.

Remarks

This can be used from a background thread.

Applies to