AnsweredAssumed Answered

Fill Symbol and Transparency

Question asked by the_Fixer on Oct 21, 2014
Latest reply on Oct 21, 2014 by mnielsen-esristaff

Using the ArcGIS Runtime for .NET (10.2.4) we are creating a polygon graphics layer. The requirement is to have a transparent fill (50%) while the outline of the polygon is to be a solid line.  This is to highlight of the border of the polygons and not block the map below the polygon.

 

A SimpleFillSymbol was created with the renderer in the polygon graphics layer.  The SymbolFillSymbol.Color was set with a color that had transparency (Color.FromArgb).  The SymbolFillSymbol.Outline.Color was set with a color that did not have transparency.

 

This approach works; the fill of the polygon is transparent (50%) while the outline is not.  Question: is this a recommended approach?  Does this have an impact on the performance of the drawing of the graphics layer?

 

The other approach is to use layer transparency but then the outline of the polygon would also be transparent.

 

Thanks,
Scott

Outcomes