public void WipeOut(Rectangle rect, int count) {
		Rectangle rect2 = (Rectangle)rect.clone();
		if (rect2.x < 0)
			rect2.y = 0;
		if (rect2.x + rect2.width > this.Width())
			rect2.width = this.Width() - rect2.x;
		int[] pixels = new int[rect2.width * rect2.height];
		_bmd.getRGB(rect2.x, rect2.y, rect2.width, rect2.height, pixels, 0, rect2.width);
		int[] pixels2 = new int[rect2.width * rect2.height];
		int w = rect2.width;
		int y = 0;
		count = count % 8;
		int[] temp2 = new int[w];
		for (int i = 0; i < w; i++) {
			temp2[i] = 0xFF000000;
		}
		int pixels_position = 0;
		int pixels2_position = 0;
		while (pixels_position < pixels.length) {
			if (y % 8 == count) {
				System.arraycopy(temp2, 0, pixels2, pixels2_position, w);
				pixels2_position += w;
				pixels_position += w;
			} else {
				System.arraycopy(pixels, pixels_position, pixels2, pixels2_position, w);
				pixels2_position += w;
				pixels_position += w;
			}
			y++;
		}
		_bmd.setRGB(rect2.x, rect2.y, rect2.width, rect2.height, pixels2, 0, rect2.width);		
	}