Share via


FontStretch 枚举

定义

描述与该字体的正常纵横比相比,字体的拉伸程度。

public enum class FontStretch
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FontStretch
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FontStretch
var value = Windows.UI.Text.FontStretch.undefined
Public Enum FontStretch
<object property="fontStretchMemberName"/>
继承
FontStretch
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

字段

Condensed 3

压缩字体拉伸 (正常) 的 75%。

Expanded 7

展开的字体 (正常) 的 125%。

ExtraCondensed 2

超精简字体 (正常) 的62.5%。

ExtraExpanded 8

超扩展字体 (正常) 的 150%。

Normal 5

所有其他字体拉伸值与 (100%) 相关的普通字体拉伸。

SemiCondensed 4

半浓缩字体 (正常) 的87.5%。

SemiExpanded 6

半展开字体 (正常) 的112.5%。

UltraCondensed 1

超压缩字体 (正常) 的 50%。

UltraExpanded 9

超展开的字体 (正常) 的 200%。

Undefined 0

没有定义的字体拉伸。

适用于

另请参阅