Parses the input string for baseline shift, which specifies the repositioning of the dominant-baseline relative to the dominant-baseline of the parent text content element. The shifted object might be a sub- or superscript. Within the shifted object, the whole baseline-table is offset; not just a single baseline. The amount of the shift is determined from information from the parent text content element, the sub- or superscript offset from the nominal font of the parent text content element, percent of the "line-height" of the parent text content element or an absolute value.
Namespace: RSSVGUtils
Delphi |
function ParseBaselineShift( S: String; DefValue: TSVGBaselineShiftLength ): TSVGBaselineShiftLength; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: TSVGBaselineShiftLength
Default Value and input value. The result will be set to this object. If the input string is empty, the object will be unchanged. Otherwise, it will be modified by the input string values
Type: TSVGBaselineShiftLength