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
DefValue
Type: TSVGColorRendering
Inherits
Type: Boolean
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 |