Ripple example for Delphi

procedure TForm1.RippleClick(Sender: TObject);
var
   ptCenter: TPoint;
begin
   ptCenter.x:= Trunc(LEADImage1.BitmapWidth /2);
   ptCenter.y:= Trunc(LEADImage1.BitmapHeight /2);

   LEADImage1.Ripple( 20, 10, 0, 0, ptCenter, 0, FILL_RPT );
end;