Leadtools.Annotations.Core.AnnFontWeight = function() { }; Leadtools.Annotations.Core.AnnFontWeight.prototype = {
normal = 0, thin = 1, extraLight = 2, light = 3, medium = 4, semiBold = 5, bold = 6, extraBold = 7, black = 8, extraBlack = 9, };
Value | Member | Description |
---|---|---|
0 | normal | 400 font weight |
1 | thin | 100 font weight |
2 | extraLight | 200 font weight |
3 | light | 300 font weight |
4 | medium | 500 font weight |
5 | semiBold | 600 font weight |
6 | bold | 700 font weight |
7 | extraBold | 800 font weight |
8 | black | 900 font weight |
9 | extraBlack | 950 font weight |
Weight differences are generally differentiated by an increased stroke or thickness that is associated with a given character in a typeface, as compared to a "normal" character from that same typeface.
An example of Normal and UltraBold weights for the Palatino Linotype typeface.
Not all weights are available for all typefaces. When a weight is not available for a typeface, the closest matching weight is returned.