Parses the input string for a text decoration value, which describes decorations that are added to the text of an element. The RSCL does not support the blink value.
The allowable values are none | [ underline || overline || line- through || blink ] | inherit
Namespace: FMX.RS.SVGUtils
Delphi |
procedure ParseTextDecoration( S: String; Font: TSVGFont; var Inherits: Boolean ); |
Parameters
S
Type: String
Input string to parse
Font
Type: TSVGFont
Inherits
Type: Boolean
Set to True when the input string contains 'inherit' keyword
DefValue
Default Value. If the string is empty, the default value is returned
If the string is blank, the procedure does not change the Font parameter. If the string contains 'inherits', the procedure leaves Font parameter unchanged sets the Inherits parameter to true. |
Reference |