'Declaration
Public Function New( _ ByVal x As Double, _ ByVal y As Double, _ Optional ByVal measureUnit As Units, _ Optional ByVal isUnsigned As Boolean _ )
'Usage
Dim x As Double Dim y As Double Dim measureUnit As Units Dim isUnsigned As Boolean Dim instance As New Position(x, y, measureUnit, isUnsigned)
public Position( double x, double y, Units measureUnit, bool isUnsigned )
Parameters
- x
- Represents the value of the horizontal (X) axis.
- y
- Represents the value of the vertical (Y) axis.
- measureUnit
- Represents the type of unit used for the given values. The default value is Inch.
- isUnsigned
- Determines if negative values are accepted. The default value is false, so no negative numbers are allowed by default.