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 usWidthClass 値の詳細については、OpenType 仕様の usWidthClass セクションを参照してください。
プロパティ
| 名前 | 説明 |
|---|---|
| Condensed |
圧縮された FontStretchを指定します。 |
| Expanded |
展開された FontStretchを指定します。 |
| ExtraCondensed |
余分に圧縮された FontStretchを指定します。 |
| ExtraExpanded |
追加展開された FontStretchを指定します。 |
| Medium |
中 FontStretchを指定します。 |
| Normal |
通常の FontStretchを指定します。 |
| SemiCondensed |
半圧縮 FontStretchを指定します。 |
| SemiExpanded |
半展開 FontStretchを指定します。 |
| UltraCondensed |
超凝縮 FontStretchを指定します。 |
| UltraExpanded |
超拡張 FontStretchを指定します。 |