Yeah, yeah, yeah...I'm just lazy. ;) You can set the transparency
of the color by creating a new color and specifying an alpha value
from 0 (transparent) to 255 (opaque). A value of 128 works like a
champ.
OMRect omr = new OMRect(....);
omr.setFillPaint(new Color(255, 0, 0, 128));
This will give you a nice translucent red. Real slick.
- Chris
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Apr 4 15:05:13 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT