New topic: Fill shapes
<http://forums.realsoftware.com/viewtopic.php?t=47119> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message atarikid Post subject: Fill shapesPosted: Fri Mar 01, 2013 9:01 am Joined: Wed Feb 04, 2009 1:43 pm Posts: 394 Not sure how to start doing the following: I want to fill any empty shape with a color. For example the picture below. When the mouse pointer is inside one of the shapes and you click it should fill that shape. Any easy (or not) solutions? online photo storage Top DaveS Post subject: Re: Fill shapesPosted: Fri Mar 01, 2013 9:05 am Joined: Sun Aug 05, 2007 10:46 am Posts: 4614 Location: San Diego, CA Quote:RGBSurface.FloodFill Method RGBSurface.FloodFill ( x as Integer, y as Integer, FillColor as Color ) Performs a "floodfill" (the action performed by a PaintBucket tool in an image editing program) on an RGBSurface. The pixel at x, y and all adjacent pixels of the same color are changed to the passed FillColor. _________________ Dave Sisemore MacPro, OSX Lion 10.7.4 RB2012r1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
