The selection transparency levels for selection are hard-coded:<div><br></div><div><a href="http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Stylization/SE_Renderer.cpp#L135">http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Stylization/SE_Renderer.cpp#L135</a></div>
<div><br></div><div><a href="http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Renderers/GDRenderer.cpp#L1537">http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Renderers/GDRenderer.cpp#L1537</a></div><div>
<br></div><div><a href="http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Renderers/AGGRenderer.cpp#L1410">http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Renderers/AGGRenderer.cpp#L1410</a></div><div><br>
</div><div>I believe that this is because it's generally desirable for the line to be darker than the fill. I guess that there are a couple options here; either define a desirable alpha offset for the line, or create a second parameter for the line fill colour. A (harder) third option, but one which I would personally prefer, would be to allow setting a SymbolDefinition for the selection.</div>
<div><br>There are enhancement ticket requesting this change, but nobody's stepped up with a solution yet:</div><div><br></div><div><a href="http://trac.osgeo.org/mapguide/ticket/852">http://trac.osgeo.org/mapguide/ticket/852</a></div>
<div><br></div><div><a href="http://trac.osgeo.org/mapguide/ticket/416">http://trac.osgeo.org/mapguide/ticket/416</a></div><div><br></div><div>Jason</div><div><br></div><div><br><div class="gmail_quote">On 7 May 2010 01:18, Julien Leture wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">So, like the wiki said, the alpha value does not have any impact on the</div>
transparency. It's mean that 0x0000FFFF, 0x0000FF00 or 0x0000FF80 will<br>
generate the same selection overlay.<br><br></blockquote></div></div>