Condividi tramite


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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: 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.

.NET Framework Security

See Also

Reference

RectangleD Structure

RectangleD Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace