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: Double

    The x-coordinate of the upper-left corner of the rectangle.

  • y
    Type: Double

    The y-coordinate of the upper-left corner of the rectangle.

  • width
    Type: Double

    The width of the rectangle.

  • height
    Type: Double

    The height of the rectangle.

.NET Framework Security

See Also

Reference

RectangleD Structure

RectangleD Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace