Skip to main content

TdxRectList.Offset(Integer,Integer) Method

Shifts all rectangles horizontally and/or vertically.

Declaration

procedure Offset(X: Integer; Y: Integer);

Parameters

Name Type
X Integer
Y Integer

Remarks

Call this procedure and pass horizontal and vertical offsets (in pixels) as the X and Y parameters to shift all rectangles in the list.

See Also