Trying the New Transparency Feature of RS2011r4
Issue: 10.2 (January/February 2012)
Author: Marc Zeedar
Article Description: No description available.
Article Length (in bytes): 9,429
Starting Page Number: 52
RBD Number: 10210
10210 project.zip Updated: Wednesday, January 4, 2012 at 2:56 PM
Related Link(s): None
Known Limitations: None
Excerpt of article text...
One of the exciting new features of Real Studio 2011 Release 4 is the addition of transparency support for graphics. I don't always stay on the cutting edge of Real Studio releases, but this feature intrigued me enough to install it right away.
Unfortunately, I have discovered some issues with transparency. It's not bug-free. But when it works, it's really, really cool.
On the surface, using transparency is simple. Within a graphics context you simply specify the transparency amount you want and then draw. If you set it to 50%, for instance, all your graphics would draw at half their normal visibility. This is great for all sorts of awesome special effects.
In practice, however, there are several issues with this command. The first is that the online documentation is wrong. Hopefully this is fixed by the time you read this, but as of this writing the Language Reference refers to graphics.translucency instead of graphics.transparency which is the real command. This could confuse beginners.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.