MathConstant Enum
The constants of mathematical layout: OpenType specification, "MATH - The Mathematical Typesetting Table", "MathConstants table", in the order of the table.
public enum MathConstantFields
| Name | Value | Description |
|---|---|---|
ScriptPercentScaleDown | 0 | The percentage of scaling down for the level 1 superscripts and subscripts. |
ScriptScriptPercentScaleDown | 1 | The percentage of scaling down for the level 2 (script script) superscripts and subscripts. |
DelimitedSubFormulaMinHeight | 2 | The minimum height required for a delimited expression to be treated as a sub-formula. |
DisplayOperatorMinHeight | 3 | The minimum height of n-ary operators (such as integral and summation) for formulas in display mode. |
MathLeading | 4 | The white space to be left between math formulas to ensure proper line spacing. |
AxisHeight | 5 | The axis height of the font: the height of the center of fractions, of the minus sign and of the stretched delimiters. |
AccentBaseHeight | 6 | The maximum height of a base that does not require raising its accents. |
FlattenedAccentBaseHeight | 7 | The maximum height of a base that does not require flattening its accents. |
SubscriptShiftDown | 8 | The standard shift down applied to subscript elements. |
SubscriptTopMax | 9 | The maximum allowed height of the top of a subscript that does not require moving it down. |
SubscriptBaselineDropMin | 10 | The minimum allowed drop of the baseline of a subscript relative to the bottom of the base. |
SuperscriptShiftUp | 11 | The standard shift up applied to superscript elements. |
SuperscriptShiftUpCramped | 12 | The standard shift up applied to superscript elements when the current style is cramped. |
SuperscriptBottomMin | 13 | The minimum allowed height of the bottom of a superscript that does not require moving it up. |
SuperscriptBaselineDropMax | 14 | The maximum allowed drop of the baseline of a superscript relative to the top of the base. |
SubSuperscriptGapMin | 15 | The minimum gap between the superscript and the subscript ink. |
SuperscriptBottomMaxWithSubscript | 16 | The maximum height of the bottom of a superscript when the subscript is moved down to make room for it. |
SpaceAfterScript | 17 | The extra white space added to the right of a subscript or superscript. |
UpperLimitGapMin | 18 | The minimum gap between the bottom of an upper limit and the top of the base operator. |
UpperLimitBaselineRiseMin | 19 | The minimum distance between the baseline of an upper limit and the top of the base operator. |
LowerLimitGapMin | 20 | The minimum gap between the top of a lower limit and the bottom of the base operator. |
LowerLimitBaselineDropMin | 21 | The minimum distance between the baseline of a lower limit and the bottom of the base operator. |
StackTopShiftUp | 22 | The standard shift up applied to the top element of a stack. |
StackTopDisplayStyleShiftUp | 23 | The standard shift up applied to the top element of a stack in display style. |
StackBottomShiftDown | 24 | The standard shift down applied to the bottom element of a stack. |
StackBottomDisplayStyleShiftDown | 25 | The standard shift down applied to the bottom element of a stack in display style. |
StackGapMin | 26 | The minimum gap between the bottom of the top element of a stack and the top of the bottom element. |
StackDisplayStyleGapMin | 27 | The minimum gap between the bottom of the top element of a stack and the top of the bottom element in display style. |
StretchStackTopShiftUp | 28 | The standard shift up applied to the top element of a stretch stack. |
StretchStackBottomShiftDown | 29 | The standard shift down applied to the bottom element of a stretch stack. |
StretchStackGapAboveMin | 30 | The minimum gap between the ink of the stretched element and the ink bottom of the element above. |
StretchStackGapBelowMin | 31 | The minimum gap between the ink of the stretched element and the ink top of the element below. |
FractionNumeratorShiftUp | 32 | The standard shift up applied to the numerator. |
FractionNumeratorDisplayStyleShiftUp | 33 | The standard shift up applied to the numerator in display style. |
FractionDenominatorShiftDown | 34 | The standard shift down applied to the denominator. |
FractionDenominatorDisplayStyleShiftDown | 35 | The standard shift down applied to the denominator in display style. |
FractionNumeratorGapMin | 36 | The minimum tolerated gap between the ink bottom of the numerator and the ink of the fraction bar. |
FractionNumDisplayStyleGapMin | 37 | The minimum tolerated gap between the ink bottom of the numerator and the ink of the fraction bar in display style. |
FractionRuleThickness | 38 | The thickness of the fraction bar. |
FractionDenominatorGapMin | 39 | The minimum tolerated gap between the ink top of the denominator and the ink of the fraction bar. |
FractionDenomDisplayStyleGapMin | 40 | The minimum tolerated gap between the ink top of the denominator and the ink of the fraction bar in display style. |
SkewedFractionHorizontalGap | 41 | The horizontal distance between the top and bottom elements of a skewed fraction. |
SkewedFractionVerticalGap | 42 | The vertical distance between the ink of the top and bottom elements of a skewed fraction. |
OverbarVerticalGap | 43 | The distance between the overbar and the ink top of the base. |
OverbarRuleThickness | 44 | The thickness of the overbar. |
OverbarExtraAscender | 45 | The extra white space reserved above the overbar. |
UnderbarVerticalGap | 46 | The distance between the underbar and the ink bottom of the base. |
UnderbarRuleThickness | 47 | The thickness of the underbar. |
UnderbarExtraDescender | 48 | The extra white space reserved below the underbar. |
RadicalVerticalGap | 49 | The space between the ink top of the radicand and the radical bar. |
RadicalDisplayStyleVerticalGap | 50 | The space between the ink top of the radicand and the radical bar in display style. |
RadicalRuleThickness | 51 | The thickness of the radical bar. |
RadicalExtraAscender | 52 | The extra white space reserved above the radical bar. |
RadicalKernBeforeDegree | 53 | The extra horizontal kern before the degree of a radical. |
RadicalKernAfterDegree | 54 | The negative kern after the degree of a radical. |
RadicalDegreeBottomRaisePercent | 55 | The height of the bottom of the degree of a radical, as a percentage of the height of the radical sign. |