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: RSSVGUtils
Delphi |
function ParseTextRendering( S: String; DefValue: TSVGTextRendering; var Inherits: Boolean ): TSVGTextRendering; |
Parameters
S
Type: String
DefValue
Type: TSVGTextRendering
Inherits
Type: Boolean
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 |