LEADTOOLS JavaScript (Leadtools.Annotations.Core)
LEAD Technologies, Inc

AnnFontStretch Enumeration


Defines the degree to which a font form is stretched from its normal aspect ratio.
Syntax
Leadtools.Annotations.Core.AnnFontStretch = function() { };
Leadtools.Annotations.Core.AnnFontStretch.prototype = {
normal = 0, ultraCondensed = 1, extraCondensed = 2, condensed = 3, semiCondensed = 4, semiExpanded = 5, expanded = 6, extraExpanded = 7, ultraExpanded = 8, };
!MISSING Scrap '_RTJavaScript_Enumeration_SYNTAX'!
Members
ValueMemberDescription
0normalSpecifies a normal font stretch.
1ultraCondensedSpecifies an ultra-condensed font stretch.
2extraCondensedSpecifies an extra-condensed font stretch.
3condensedSpecifies a condensed font stretch.
4semiCondensedSpecifies a semi-condensed font stretch.
5semiExpandedSpecifies a semi-expanded font stretch.
6expandedSpecifies an expanded font stretch.
7extraExpandedSpecifies an extra-expanded font stretch.
8ultraExpandedSpecifies an ultra-expanded font stretch.
Remarks

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.

The AnnFontStretch values correspond to the "usWidthClass" definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9. Lower numeric values indicate narrower widths; higher values indicate wider widths.

FontStretch usWidthClass percent of normal
UltraCondensed 1 50 percent
ExtraCondensed 2 62.5 percent
Condensed 3 75 percent
SemiCondensed 4 87.5 percent
Normal 5 100 percent
SemiExpanded 6 112.5 percent
Expanded 7 125 percent
ExtraExpanded 8 150 percent
UltraExpanded 9 200 percent
See Also

Reference

Leadtools.Annotations.Core Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.