laptop and a wrench

漏洞

Polygons on GraphicLayers cannot be rendered without a fill.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM006365
已提交January 26, 2007
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.2
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

The problem occurs in: ESRI.ArcGIS.ADF.Web.Display.Drawing.DrawingUtility.cs:DrawSimpleFillSymbolline 399: Color fillColor = Color.FromArgb(fillTrans, sym.Color);Calling this method with Color.Empty is equivalent to:Color fillColor = Color.FromArgb(fillTrans, 0, 0, 0);Calling this method with Color.Transparent is equivalent to:Color fillColor = Color.FromArgb(fillTrans, 255, 255, 255);Thus the result will be a black or white color, with a transparency value set to fillTrans.The correct method would be not to call g.FillPolygon(...) in line 412 in case of Color.Empty or Color.Transparent, or in the case of a semitransparent color (sym.Color.A!=255) to multiply its transparency with the fillTrans value.Another workaround would be to make it possible to also specify a SimpleLineSymbol for rendering polygons. Currently if this is specified, the polygon never gets rendered.

重现步骤

漏洞 ID: NIM006365

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项