Graphisoft®

Dialog ManagerVersion: 2.0

Rect::SetCenter

Sets the center of the rectangle.

void SetCenter (const Point & pt);

Parameters

pt
The point, which specifies the center-point of the rectangle.

Description

Sets the center of the rectangle. The width and height parameters do not change, just the center-point of the rectangle.