Implements Ellipse and Line Tools.