Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TCustomBitmap32🞂RollMethodPublic

TCustomBitmap32.Roll

Scrolls/shifts pixel contents horizontally and vertically with optional background fill.

Declaration ​

pascal
procedure Roll(Dx, Dy: Integer; FillBack: Boolean; FillColor: TColor32);

Parameters ​

ParameterTypeDescription
Dx, DyIntegerHorizontal and vertical pixel scroll deltas.
FillBackBooleanIf True, fills exposed empty areas with FillColor.
FillColorTColor32Color used for filling exposed background areas.

Description ​

Roll shifts bitmap pixel data by (Dx,Dy).