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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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: DoubleThe x-coordinate of the upper-left corner of the rectangle.
y
Type: DoubleThe y-coordinate of the upper-left corner of the rectangle.
width
Type: DoubleThe width of the rectangle.
height
Type: DoubleThe 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.