Hello,
I'd very much like to fill an OMPoly in a Layer with a translucent
crosshatch pattern (an opaque set of lines with transparent areas
revealing other layers). Using a DrawingAttribute, I've loaded a
fillPattern of a (mostly transparent) GIF and used this to fill the poly
(omPoly.setFillPaint(drawingAttributes.getFillPattern())).
However, when rendered, the GIF in the OMPoly appears completely opaque
onscreen and indeed:
((Transparency) obj).getTransparency() == Transparency.OPAQUE
The 'background' Color 'behind' the GIF is white (which is a little
interesting... why is this the default color and could I change the Alpha?).
My question is, short of manually rendering a crosshatch pattern, have
you any suggestions for creating a translucent textured fill for an OMPoly?
Sorry if this question veers beyond OpenMap into 2DGraphics territory...
The GIF file is here for reference;
http://www.classforge.com/openmap/red_hatch_32x32.gif
Thanks in anticipation,
matt :-)
-- [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 Wed Mar 12 06:10:52 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:35 EDT