New topic: cocoa graphics.clearXXX methods
<http://forums.realsoftware.com/viewtopic.php?t=46999> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message JimPitchford Post subject: cocoa graphics.clearXXX methodsPosted: Tue Feb 19, 2013 12:12 pm Joined: Mon Apr 11, 2011 2:01 pm Posts: 134 The graphics class includes the clearRect method that allows you to set that rectangle to transparent, effectively clearing any underlying graphics objects, but I cannot see equivalent methods for clearOval, clearRoundRect. I have tried using the alpha channel in setting the g.forecolor - but that only sets the transparency of the object being drawn (not any underlying graphics). I have tried setting g.transparency - but seems to have the same problem. Is there a way of removing colour from shapes other than rectangle? Jim _________________ Jim OSX 10.8.2, rb2012r2 Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- 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]
