Parses the input string into a line cap value, which specifies the shape to be used at the corners of paths or basic shapes when they are stroked.
The allowable values are miter | round | bevel | inherit
Namespace: RSSVGUtils
Delphi |
function ParseLineJoin( S: String; DefValue: TSVGStrokeJoin; var Inherits: Boolean ): TSVGStrokeJoin; |
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: TSVGStrokeJoin
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 |