[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Objects' (#rtl)

TRect.Assign

Set rectangle corners.

Declaration

Source position: objects.pp line 243

procedure TRect.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

TRect.Copy

  

Copy cornerpoints from another rectangle.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.