Initializes a new instance of the Rectangle class with the specified center and size.


Namespace: AspMap
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal center As Point,  _ 
   ByVal width As Double,  _ 
   ByVal height As Double _ 
)
C#
public Rectangle(
   Point center,
   double width,
   double height
)
C++
public:
 Rectangle(
   Point center,
   double width,
   double height
) sealed 
J#
public Rectangle(
   Point center,
   double width,
   double height
)
JScript
public function Rectangle(
   center : Point,
   width : double,
   height : double
)

Parameters

center
The center coordinate of the rectangle.
width
The width of the rectangle.
height
The height of the rectangle.

See Also