FontStretches クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
一連の定義済みの静的な 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 を指定します。 |