Initializes a new instance of the class, specifying coordinates of two points.
Syntax
'Declaration
Public Function New( _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
)
'Usage
Dim x1 As Double
Dim x2 As Double
Dim y1 As Double
Dim y2 As Double
Dim instance As New LinearConverter(x1, x2, y1, y2)
public LinearConverter(
double ,
double ,
double ,
double
)
public:
LinearConverter(
double ,
double ,
double ,
double
)
Parameters
- x1
- X coordinate of the first point on the conversion line.
- x2
- X coordinate of the second point on the conversion line.
- y1
- Y coordinate of the first point on the conversion line.
- y2
- Y coordinate of the second point on the conversion line.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also