RectangleD Constructor (Double, Double, Double, Double)
Initializes a new instance of the RectangleD class with the specified location and size.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
x As Double, _
y As Double, _
width As Double, _
height As Double _
)
public RectangleD(
double x,
double y,
double width,
double height
)
public:
RectangleD(
double x,
double y,
double width,
double height
)
new :
x:float *
y:float *
width:float *
height:float -> RectangleD
public function RectangleD(
x : double,
y : double,
width : double,
height : double
)
Parameters
- x
Type: System.Double
The x-coordinate of the upper-left corner of the rectangle.
- y
Type: System.Double
The y-coordinate of the upper-left corner of the rectangle.
- width
Type: System.Double
The width of the rectangle.
- height
Type: System.Double
The height of the rectangle.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.