Parses the input string for a valid url/uri value ('uri(# ref)' or 'url(#ref)')
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseLocalURI( S: String; DefValue: String; var Inherits: Boolean ): String; overload; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: String
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: String
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. If the string does not start with '#' (and not a color), 'uri(' or 'url(', the string is ignored |
Reference |