RE: [OpenMap Users] semi-transparent OMCircle?

From: Hudson Brian R Contr AFRL/IFSF <Brian.Hudson_at_rl.af.mil>
Date: Wed, 28 Jul 2004 16:55:28 -0000

Hey,

Just set the fill color of the circle with an alpha color...

circle.setFillPaint(new Color(0,0,0,50));

Here is the javadoc for the Color contructor shown above:

Creates an sRGB color with the specified red, green, blue, and alpha
     * values in the range (0 - 255).
     * _at_param r the red component
     * _at_param g the green component
     * _at_param b the blue component
     * _at_param a the alpha component

Brian Hudson

-----Original Message-----
From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com] On
Behalf Of Adam Russell
Sent: Wednesday, July 28, 2004 12:23 PM
To: openmap-users_at_bbn.com
Subject: [OpenMap Users] semi-transparent OMCircle?


I hope the answer to this question isn't too painfully obvious, but I
can't seem to figure it out.......
Suppose I have an OMCircle that would cross mutiple political boundaries
on a map, say, cover several states. Is it possible to draw an OMCircle
so that the political boundaries are still somewhat visible but the area
within the OMCircle is still somewhat fille din with a specific color?
--
[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"]
--
[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 28 2004 - 12:57:28 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT