@Override
	public void drawPreview(Graphics2D g) {
		if (!canvas.getClear()) {

			canvas.setGraphicsDetails(g);
			g.drawLine(startX, startY, endX, endY);

		} else {

			canvas.resetClear();

		}

	}