[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 252

`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.

Documentation generated on: May 14 2021