Parses the input string for a color rendering, which provides a hint to the SVG library about how to optimize its color interpolation and compositing operations. The allowable values are auto | optimizeSpeed | optimizeQuality | inherit
Namespace: RSSVGUtils
Delphi |
function ParseColorRendering( S: String; DefValue: TSVGColorRendering; var Inherits: Boolean ): TSVGColorRendering; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: TSVGColorRendering
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: TSVGColorRendering
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 |