ImageEn, unit iexBitmaps

TIEBitmap.MoveRegion

TIEBitmap.MoveRegion


Declaration


procedure MoveRegion(x1, y1, x2, y2, DstX, DstY: integer; BackgroundValue: double; FillSource: boolean = true);


Description


Moves a rectangle specified in x1, y1, x2, y2 to DstX, DstY position.
The BackgroundValue parameter specifies the color that fills the source rectangle.
If FillSource is true (default) then the source rectangle is filled with BackgroundValue.
MoveRegion doesn't copy the alpha channel.