boolean ispolyg = isPolygon();
    public void writeGraphics(Vector list, SColor lineColor, SColor fillColor)            throws IOException {        int nPolys = polygons.length;        if (nPolys <= 0)            return;        SPoly sp = null;        float[] pts;        LLPoint[] ll;        boolean ispolyg = isPolygon();        for (int i = 0; i < nPolys; i++) {            // these points are already in RADIAN lat,lon order!...            pts = ((ESRIPoly.ESRIFloatPoly) polygons[i]).getDecimalDegrees();            ll = new LLPoint[pts.length / 2];            for (int j = 0; j < ll.length; j++) {                ll[j] = new LLPoint(pts[j * 2], pts[(j * 2) + 1]);            }            sp = new SPoly(ll, LineType.LT_GreatCircle);            sp.color(lineColor);            if (fillColor != null) {                sp.fillColor(fillColor);            }            list.addElement(sp);        }    }