'Declaration
Public Function New( _ ByVal x1 As Double, _ ByVal x2 As Double, _ ByVal y1 As Double, _ ByVal y2 As Double, _ ByVal offX1Limit As OffLimitBehavior, _ ByVal offX2Limit As OffLimitBehavior, _ ByVal offY1Limit As OffLimitBehavior, _ ByVal offY2Limit As OffLimitBehavior _ )
'Usage
Dim x1 As Double Dim x2 As Double Dim y1 As Double Dim y2 As Double Dim offX1Limit As OffLimitBehavior Dim offX2Limit As OffLimitBehavior Dim offY1Limit As OffLimitBehavior Dim offY2Limit As OffLimitBehavior Dim instance As New LinearConverter(x1, x2, y1, y2, offX1Limit, offX2Limit, offY1Limit, offY2Limit)
public LinearConverter( double x1, double x2, double y1, double y2, OffLimitBehavior offX1Limit, OffLimitBehavior offX2Limit, OffLimitBehavior offY1Limit, OffLimitBehavior offY2Limit )
public: LinearConverter( double x1, double x2, double y1, double y2, OffLimitBehavior offX1Limit, OffLimitBehavior offX2Limit, OffLimitBehavior offY1Limit, OffLimitBehavior offY2Limit )
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.
- offX1Limit
- Conversion behavior when the input value is off the X1 limit.
- offX2Limit
- Conversion behavior when the input value is off the X2 limit.
- offY1Limit
- Inverse conversion behavior when the input value is off the X1 limit.
- offY2Limit
- Inverse conversion behavior when the input value is off the X2 limit.