ExtensionsDegToRad Method (Single) |
LightningChart .NET Help
Convert given angle in degrees to radians.
Namespace:
Arction.WinForms.Charting.Extensions
Assembly:
Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static float DegToRad(
this float Deg
)
<ExtensionAttribute>
Public Shared Function DegToRad (
Deg As Single
) As Single
public:
[ExtensionAttribute]
static float DegToRad(
float Deg
)
Parameters
- Deg
- Type: SystemSingle
Angle in degrees
Return Value
Type:
SingleCorresponding angle in radians.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Single. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also