Parses the input string into a line cap value, which specifies the shape to be used at the end of open subpaths when they are stroked.
The allowable values are butt | round | square | inherit
Namespace: RSSVGUtils
Delphi |
function ParseLineCap( S: String; DefValue: TSVGStrokeCap; var Inherits: Boolean ): TSVGStrokeCap; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: System.Void
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: TSVGStrokeCap
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 |