@param handler The handler to set. */
void setHandler(ShapeHandler handler) { this.handler = handler; }