Share via


Overview | Methods | Fields | ThisPackage | All Packages

OverviewMethodsFieldsThisPackageAll Packages

Rectangle.Rectangle

Creates a Rectangle object.

Syntax

public Rectangle()

public Rectangle( IDataStream stream )

public Rectangle( Rectangle r )

public Rectangle( int x**, int** y**, int** width**, int** height )

public Rectangle( RECT rect )

Parameters

stream

The data stream (IDataStream) from which to initialize the Rectangle object.

r

A Rectangle object on which to base this object.

x

The x-coordinate of the rectangle.

y

The y-coordinate of the rectangle.

width

The width of the rectangle.

height

The height of the rectangle.

rect

A Win32 RECT structure on which to base this object.