Parses the string into an angle in radians. The value string is assumed to be in degrees. If the keyword 'grad' follows the value, the value string is converted from gradians. If the keyword 'rad' follows the value, the value string is converted from radians.
Namespace: RSSVGUtils
Delphi |
function ParseAngle( S: String; DefValue: Single; var Automatic: Boolean ): Single; |
Parameters
S
Type: String
DefValue
Type: Single
Automatic
Type: Boolean
Type: Single
If the string is empty, the default value (DefValue) is returned. |
|
Reference |