Parses the input string for a text rendering, which provides a hint to the SVG library about what tradeoffs to make as it renders text. The allowable values are auto | optimizeSpeed | optimizeLegibility | geometricPrecision | inherit
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseTextRendering( S: String; DefValue: TSVGTextRendering; var Inherits: Boolean ): TSVGTextRendering; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: TSVGTextRendering
Default Value. If the string is empty, the default value is returned
Inherits
Type: Boolean
Set to True when the input string contains 'inherit' keyword
Type: TSVGTextRendering
If the string is blank, the function returns the default value ( DefValue). If the string contains 'inherits', the function returns the default value and sets the Inherits parameter to true. |
Reference |