Android Floodfill lazarus / 39-Graphics ---------------------------------------------------------------------- GreatDayDan · 2019-07-10 15:27 Does Lazarus/FPC on Android have a graphics floodfill method? ---------------------------------------------------------------------- jmpessoa · 2019-07-10 19:24 LAMW? No. But, we can try implement it based on: https://stackoverflow.com/questions/16968412/how-to-use-flood-fill- algorithm-in-android ---------------------------------------------------------------------- winni · 2019-07-10 20:04 You can find a very good pascal floodfill in BGRAbitmap Package; there in the unit BGRADefaultBitmap.  It is called procedure TBGRADefaultBitmap.ParallelFloodFill and avoids recursion with the related problems. Look at line 4507 ff Winni ---------------------------------------------------------------------- GreatDayDan · 2019-07-11 19:30 Thanks for the tip.  Now all I have to do is learn how to use it. My goal is to run the app on my wife's tablet. ---------------------------------------------------------------------- circular · 2019-07-11 19:58 By the way, the basic method is FloodFill. ParallelFloodFill fills another bitmap according to the first one. This is useful for example if you want to make a mask of an area while leaving the original image unchanged. ---------------------------------------------------------------------- GreatDayDan · 2019-07-11 20:00 Coolness.