_ypts[count] = _ypts[0]; Polygon2D pol = new Polygon2D(_xpts, _ypts, count); paint(brushObject, penObject, pol); int left = (int)(readShort( is ) * scaleXY); Rectangle2D.Float rec = new Rectangle2D.Float(left, top, right-left, bot-top); paint(brushObject, penObject, rec); int left = (int)(readShort( is ) * scaleXY); Rectangle2D.Float rec = new Rectangle2D.Float(left, top, right-left, bot-top); paint(brushObject, penObject, rec); int left = (int)(readShort( is ) * scaleXY); Rectangle2D.Float rec = new Rectangle2D.Float(left, top, right-left, bot-top); paint(brushObject, penObject, rec);
_ypts[count] = _ypts[0]; Polygon2D pol = new Polygon2D(_xpts, _ypts, count); paint(brushObject, penObject, pol); int left = (int)(readShort( is ) * scaleXY); Rectangle2D.Float rec = new Rectangle2D.Float(left, top, right-left, bot-top); paint(brushObject, penObject, rec); int left = (int)(readShort( is ) * scaleXY); Rectangle2D.Float rec = new Rectangle2D.Float(left, top, right-left, bot-top); paint(brushObject, penObject, rec); int left = (int)(readShort( is ) * scaleXY); Rectangle2D.Float rec = new Rectangle2D.Float(left, top, right-left, bot-top); paint(brushObject, penObject, rec);