[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Layout.Rect-1.-ctor

Rect Constructor

Rect(T, T, T, T)

Initializes a new instance of the Rect<T> struct.

Declaration
public Rect(T left, T top, T width, T height)
Parameters
Type Name Description
T left

The x-coordinate of the left edge of this Rect structure.

T top

The y-coordinate of the top edge of this Rect structure.

T width

The width of this Rect structure.

T height

the height of this Rect structure.

Rect(Point<T>, Size<T>)

Initializes a new instance of the Rect<T> struct.

Declaration
public Rect(Point<T> location, Size<T> size)
Parameters
Type Name Description
Point<T> location

A Point<T> that represents the upper-left corner of the Rect.

Size<T> size

A Size that represents the width and height of the Rect.