Parses the input string into a miter limit value, which imposes a limit on the ratio of the miter length to the stroke width. When the limit is exceeded, the join is converted from a miter to a bevel.
The allowable values are number >= 1
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseMiterLimit( S: String; DefValue: Single; var Inherits: Boolean ): Single; overload; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: Single
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: Single
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 |