編集

次の方法で共有


UIFontDescriptor.CreateWithSize(nfloat) Method

Definition

Creates a new UIFontDescriptor based on setting a new font size to the current descriptor.

[Foundation.Export("fontDescriptorWithSize:")]
public virtual UIKit.UIFontDescriptor CreateWithSize (nfloat newPointSize);
abstract member CreateWithSize : nfloat -> UIKit.UIFontDescriptor
override this.CreateWithSize : nfloat -> UIKit.UIFontDescriptor

Parameters

newPointSize
nfloat

New desired font size for the descriptor.

Returns

New UIFontDescriptor containing the added font size.

Attributes

Remarks

This can be used from a background thread.

Applies to