Initializes a new instance of the
DRect class
as a two-dimensional rectangle.
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
Visual Basic (Declaration) |
Public Sub New( _ ByVal x1 As Double, _ ByVal x2 As Double, _ ByVal x3 As Double, _ ByVal x4 As Double _ ) |
Parameters
-
x1
-
Type: double
X-coordinate of the rectangle's top-left corner.
-
x2
-
Type: double
Y-coordinate of the rectangle's top-left corner.
-
x3
-
Type: double
X-coordinate of the rectangle's bottom-right corner.
-
x4
-
Type: double
Y-coordinate of the rectangle's bottom-right corner.
Platforms
Version Information
.NET Framework
Supported in: 2.0 - 4, NET6
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
See Also