FontStretches クラス

定義

一連の定義済みの静的な FontStretch 値を提供します。

public ref class FontStretches abstract sealed
public static class FontStretches
type FontStretches = class
Public Class FontStretches
継承
FontStretches

注釈

フォント ストレッチは、フォント フォームが通常の縦横比から引き伸ばされる度合いを表します。これは、フォント内のグリフに指定された元の幅と高さの比率です。

値は FontStretches 、OpenType 仕様の定義に対応 usWidthClass します。 は usWidthClass 、1 ~ 9 の整数値を表します。 数値を小さくすると、幅が狭くなります。値が大きいほど幅が広いことを示します。

フォントのストレッチ usWidthClass 標準の割合
UltraCondensed 1 50%
ExtraCondensed 2 62.5%
Condensed 3 75%
SemiCondensed 4 87.5%
Normal 5 100%
Medium 5 100%
SemiExpanded 6 112.5%
Expanded 7 125%
ExtraExpanded 8 150%
UltraExpanded 9 200%

OpenType 値の詳細については、OpenType usWidthClass 仕様の usWidthClass セクションを参照してください。

プロパティ

Condensed

狭い FontStretch を指定します。

Expanded

広い FontStretch を指定します。

ExtraCondensed

より狭い FontStretch を指定します。

ExtraExpanded

より広い FontStretch を指定します。

Medium

中レベルの FontStretch を指定します。

Normal

標準の FontStretch を指定します。

SemiCondensed

やや狭い FontStretch を指定します。

SemiExpanded

やや広い FontStretch を指定します。

UltraCondensed

より狭い FontStretch を指定します。

UltraExpanded

より広い FontStretch を指定します。

適用対象