UIFontDescriptor.CreateWithAttributes UIFontDescriptor.CreateWithAttributes Method

Definition

Overloads

CreateWithAttributes(NSDictionary) CreateWithAttributes(NSDictionary)

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

CreateWithAttributes(UIFontAttributes) CreateWithAttributes(UIFontAttributes)

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

CreateWithAttributes(NSDictionary) 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 NSDictionary

dictionary containing the attributes.

Returns

New UIFontDescriptor containing the added attributes.

Remarks

Use the strongly typed version instead.

This can be used from a background thread.

CreateWithAttributes(UIFontAttributes) 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 UIFontAttributes

dictionary containing the attributes.

Returns

New UIFontDescriptor containing the added attributes.

Remarks

This can be used from a background thread.

Applies to