public void DrawPolygon(double[] xPoints, double[] yPoints, int numPoints, Color color, bool fill, short width) { // TODO: test it object x = xPoints; object y = yPoints; _map.DrawWidePolygon(ref x, ref y, numPoints, ColorHelper.ColorToUInt(color), fill, width, color.A); }