SuperMap.Connector.Control.Forms.Polygon.Polygon C# (CSharp) Метод

Polygon() публичный Метод

构造函数。
public Polygon ( string id, List point2Ds, System fillColor, System strokeColor, double strokeWeight ) : System
id string 多边形对象的ID,在同一个GraphicsLayer中不能存在相同ID的两个Polygon对象, /// 若已经存在一个相同的ID对象,则新加入到GraphicsLayer中的Polygon对象将覆盖前一个Polygon对象。
point2Ds List 面所有节点坐标列表。
fillColor System 填充色。
strokeColor System 面边线颜色。
strokeWeight double 面边线宽度。
Результат System
        public Polygon(string id, List<Point2D> point2Ds, System.Drawing.Color fillColor, System.Drawing.Color strokeColor, double strokeWeight)
        {
            if (string.IsNullOrWhiteSpace(id)) throw new ArgumentNullException();
            this._point2Ds = point2Ds;
            this._strokeColor = strokeColor;
            this._fillColor = fillColor;
            this._strokeWeight = strokeWeight;
            this._id = id;
            this._type = GeometryType.REGION;
        }
Polygon