rpobject.put("thickness", boardState.getThickness());
rpobject.put("x", Math.min(startX, event.getX()));
rpobject.put("y", Math.min(startY, event.getY()));
rpobject.put("x2", Math.max(startX, event.getX()));
rpobject.put("y2", Math.max(startY, event.getY()));
Shape shape = new Rectangle(rpobject);
board.drawTemporaryShape(shape);
}
}