UIFont.SystemFontOfSize 方法

定义

重载

SystemFontOfSize(nfloat)

创建指定大小的系统字体。

SystemFontOfSize(nfloat, nfloat)

返回指定 sizeweight中的默认系统字体。

SystemFontOfSize(nfloat, UIFontWeight)

获取指定 和 的系统字体。

SystemFontOfSize(nfloat)

创建指定大小的系统字体。

public static UIKit.UIFont SystemFontOfSize (nfloat size);
static member SystemFontOfSize : nfloat -> UIKit.UIFont

参数

size
nfloat

字体的大小,以磅为单位。

返回

注解

这可以从后台线程使用。

适用于

SystemFontOfSize(nfloat, nfloat)

返回指定 sizeweight中的默认系统字体。

public static UIKit.UIFont SystemFontOfSize (nfloat size, nfloat weight);
static member SystemFontOfSize : nfloat * nfloat -> UIKit.UIFont

参数

size
nfloat
weight
nfloat

返回

注解

(此节点的更多文档即将)

这可以从后台线程使用。

适用于

SystemFontOfSize(nfloat, UIFontWeight)

获取指定 和 的系统字体。

public static UIKit.UIFont SystemFontOfSize (nfloat size, UIKit.UIFontWeight weight);
static member SystemFontOfSize : nfloat * UIKit.UIFontWeight -> UIKit.UIFont

参数

size
nfloat
weight
UIFontWeight

返回

注解

(此节点的更多文档即将)

这可以从后台线程使用。

适用于