polygon color

Farah farah at egovernments.org
Mon Dec 4 01:01:34 EST 2006


Hi Kencana,

In the studio, when you are giving a style to a particular scale range:  for
a layer, we have an option to set the transparency ( from 0 to 100: 0 means
not transaprent and as you go towards 100, the transparency increases and
the colour changes accordingly!). Now if you save this layer as xml,you will
get the required styling info and colour.

For example:

<AreaSymbolization2D>
	<Fill>
		<FillPattern>Solid</FillPattern>
		<ForegroundColor>80800000</ForegroundColor>
		<BackgroundColor>FF000000</BackgroundColor>
	</Fill>
 	<Stroke>
		<LineStyle>Solid</LineStyle>
		<Thickness>0.0</Thickness>
		<Color>FFC0C0C0</Color>
		<Unit>Centimeters</Unit>
	</Stroke>
</AreaSymbolization2D>




This colours: forground: 80800000 and background: FF000000 give a slightly
transparent red shade to the polygon.


Regards
Farah


-----Original Message-----
From: kencana kesuma [mailto:bluesky_dyx at hotmail.com] 
Sent: Monday, December 04, 2006 9:43 AM
To: farah at egovernments.org
Subject: polygon color

Hi Farah,

Do you know how to make the polygon bg color transparent?
so that only the polygon fill and the outline layer can be seen?

Hope you can help me out

Regards,
Kencana

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





More information about the Mapguide-users mailing list