Parses the input string for a vector effect value, which indicates the vector effect that shall be applied
The allowable inputs are none | non-scaling-stroke | inherit
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseVectorEffect( S: String; DefValue: TSVGVectorEffect; var Inherits: Boolean ): TSVGVectorEffect; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: TSVGVectorEffect
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: TSVGVectorEffect
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 |