What do you mean by "opaque?" (My understanding is it's the same as "solid"; i.e. not transparent.)
But you can adjust the level of transparency with the color, using the optional fourth parameter in the constructor, which can be from 0 (transparent) to 255 (opaque).
For example:
Color lightBlue = new Color(0, 0, 255, 35);
forCircle.setFillPaint(lightBlue);
-----Original Message-----
From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]On Behalf Of Norfleet, Timothy
Sent: Wednesday, July 07, 2004 11:00 AM
To: openmap-users_at_bbn.com
Subject: [OpenMap Users] Opaque OMCircle
Hi all,
Can anyone give me suggestion on how to make my fill color Opaque using the code below? I can make it solid but not opaque.
OMCircle fovCircle = new OMCircle(latitude, longitude,newRadius);
fovCircle.setLatLon(latitude, longitude);
fovCircle.setRadius(newRadius);
fovCircle.setFillPaint(Color.green);
fovCircle.setLinePaint(Color.white);
renderList.add(fovCircle);
tim
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jul 07 2004 - 11:52:50 EDT