RectangleD Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RectangleD(PointD, SizeD) |
Initializes a new instance of the RectangleD class with the specified ___location and size. |
RectangleD(Double, Double, Double, Double) |
Initializes a new instance of the RectangleD class with the specified ___location and size. |
RectangleD(PointD, SizeD)
Initializes a new instance of the RectangleD class with the specified ___location and size.
public:
RectangleD(Microsoft::VisualStudio::Modeling::Diagrams::PointD ___location, Microsoft::VisualStudio::Modeling::Diagrams::SizeD size);
[System.Diagnostics.DebuggerStepThrough]
public RectangleD(Microsoft.VisualStudio.Modeling.Diagrams.PointD ___location, Microsoft.VisualStudio.Modeling.Diagrams.SizeD size);
[<System.Diagnostics.DebuggerStepThrough>]
new Microsoft.VisualStudio.Modeling.Diagrams.RectangleD : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.SizeD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Sub New (___location As PointD, size As SizeD)
Parameters
- ___location
- PointD
A PointD that represents the upper-left corner of the rectangular region.
- size
- SizeD
A SizeF that represents the width and height of the rectangular region.
- Attributes
Applies to
RectangleD(Double, Double, Double, Double)
Initializes a new instance of the RectangleD class with the specified ___location and size.
public:
RectangleD(double x, double y, double width, double height);
[System.Diagnostics.DebuggerStepThrough]
public RectangleD(double x, double y, double width, double height);
[<System.Diagnostics.DebuggerStepThrough>]
new Microsoft.VisualStudio.Modeling.Diagrams.RectangleD : double * double * double * double -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Sub New (x As Double, y As Double, width As Double, height As Double)
Parameters
- x
- Double
The x-coordinate of the upper-left corner of the rectangle.
- y
- Double
The y-coordinate of the upper-left corner of the rectangle.
- width
- Double
The width of the rectangle.
- height
- Double
The height of the rectangle.
- Attributes