TRect.Assign

Set rectangle corners.

Declaration

Source position: objects.pp line 278

default 
  procedure Assign(XA: Sw_Integer; YA: Sw_Integer; XB: Sw_Integer; 
                  YB: Sw_Integer);

Description

Assign sets the corner points of the rectangle to (XA,YA) and (Xb,Yb).

For an example, see TRect.Copy .

Errors

None.

See also

Name Description
TRect.Copy Copy cornerpoints from another rectangle.