Parses the input string for a color interpolation, which specifies the color space for gradient interpolations and alpha compositing. The allowable values are auto | sRGB | linearRGB | inherit.
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseColorInterpolation( S: String; DefValue: TSVGColorInterpolation; var Inherits: Boolean ): TSVGColorInterpolation; |
Parameters
S
Type: String
DefValue
Type: TSVGColorInterpolation
Inherits
Type: Boolean
Type: TSVGColorInterpolation
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 |