FontStretches Класс
Определение
Предоставляет набор статических предопределенных значений FontStretch.Provides a set of static predefined FontStretch values.
public ref class FontStretches abstract sealed
public static class FontStretches
type FontStretches = class
Public Class FontStretches
- Наследование
-
FontStretches
Комментарии
Растяжение шрифта описывает степень, до которой форма шрифта растягивается от нормального пропорций, что является исходным отношением ширины к высоте, указанным для глифов в шрифте.A font stretch describes the degree to which a font form is stretched from its normal aspect ratio, which is the original width to height ratio specified for the glyphs in the font.
FontStretchesЗначения соответствуют usWidthClass
определению в OpenTypeOpenType спецификации.The FontStretches values correspond to the usWidthClass
definition in the OpenTypeOpenType specification. Объект usWidthClass
представляет целочисленное значение от 1 до 9.The usWidthClass
represents an integer value between 1 and 9. Младшие числовые значения указывают на более узкие ширину; более высокие значения указывают на большее значение ширины.Lower numeric values indicate narrower widths; higher values indicate wider widths.
Растяжение шрифтаFont stretch | усвидсклассusWidthClass | % от обычного% of normal |
---|---|---|
UltraCondensed | 11 | 50%50% |
ExtraCondensed | 22 | 62.5%62.5% |
Condensed | 33 | 75%75% |
SemiCondensed | 44 | 87.5%87.5% |
Normal | 55 | 100%100% |
Medium | 55 | 100 %100% |
SemiExpanded | 66 | 112.5%112.5% |
Expanded | 77 | 125%125% |
ExtraExpanded | 88 | 150%150% |
UltraExpanded | 99 | 200%200% |
Дополнительные сведения о usWidthClass
значении OpenType см. в разделе Усвидскласс спецификации OpenType.For more information on the OpenType usWidthClass
value, see the usWidthClass section of the OpenType specification.
Свойства
Condensed |
Определяет сжатое значение FontStretch.Specifies a condensed FontStretch. |
Expanded |
Определяет расширенное значение FontStretch.Specifies an expanded FontStretch. |
ExtraCondensed |
Определяет более сжатое значение FontStretch.Specifies an extra-condensed FontStretch. |
ExtraExpanded |
Определяет более расширенное значение FontStretch.Specifies an extra-expanded FontStretch. |
Medium |
Определяет среднее значение FontStretch.Specifies a medium FontStretch. |
Normal |
Определяет обычное начертание FontStretch.Specifies a normal FontStretch. |
SemiCondensed |
Определяет полусжатое значение FontStretch.Specifies a semi-condensed FontStretch. |
SemiExpanded |
Определяет полурасширенное значение FontStretch.Specifies a semi-expanded FontStretch. |
UltraCondensed |
Определяет очень сжатое значение FontStretch.Specifies an ultra-condensed FontStretch. |
UltraExpanded |
Определяет очень расширенное значение FontStretch.Specifies an ultra-expanded FontStretch. |