But Wait!

There is no Mask class for app.dockitem

it should be:
app.dockitem.mask.graphics.drawrect 0,0,128,128

Now what?

-Tristan

On May 23, 2006, at 9:07 AM, [EMAIL PROTECTED] wrote:

Thanks for explaining it better. Now I understand. Thanks for all your help!


On May 22, 2006, at 1:52 PM, Tristan wrote:

I tried that but I drew some of the shapes in-program, they are not
pictures. Some of these shapes are user specified. I would have to
make millions of masks to fit every possible option.

not to smash that idea or anything.

I thought that it was a good idea but I don't think it can work.

Russ is correct in that the DockItem mask sets the transparency of
the item.

The issue is not really that it will not work, it is that you need to
plan your DockItems to include the mask.  Essentially what you would
be doing is drawing into two different pictures... the color icon and
the gray mask.

If in your icon you draw a Blue Circle, which is suppose to be 50%
transparent, then you would first draw the Blue Circle in the icon
picture, and then you would draw a &c808080 circle in the mask.  Then
you continue to layer pictures/shapes until you end up with the
graphic which the user finally sees.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to